aboutsummaryrefslogblamecommitdiff
path: root/x11-toolkits/xg/Makefile
blob: d1952ab0f963b7cf7e9931382416b0a829cf8678 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                          


                                                        
           

 
                  
                   


                                             
                           
 
                                 
 
                                           
                   
                   
                        

           






                                                                                       
                        


                                                                


                      
# New ports collection makefile for:	xg
# Date created:				3 December 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	xg
PORTVERSION=	1.0
CATEGORIES=	x11-toolkits
MASTER_SITES=	ftp://messners.com/code/ \
		http://www.messners.com/code/
DISTNAME=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

WRKSRC=		${WRKDIR}/Xg-${PORTVERSION}
USE_X_PREFIX=	yes
USE_MOTIF=	yes
MAKEFILE=	makefile

do-install:
	${INSTALL_DATA} ${WRKSRC}/src/libxg.a ${PREFIX}/lib
	@${MKDIR} ${PREFIX}/include/xg
	${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/xg
	@${MKDIR} ${PREFIX}/share/examples/xg
	${INSTALL_DATA} ${WRKSRC}/testsrc/*.c ${PREFIX}/share/examples/xg
	${INSTALL_DATA} ${WRKSRC}/testsrc/*.xpm ${PREFIX}/share/examples/xg
	${INSTALL_DATA} ${WRKSRC}/testsrc/makefile ${PREFIX}/share/examples/xg/Makefile
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/xg
	${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/xg
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xg
.endif

.include <bsd.port.mk>