1998-12-23 01:19:33 +00:00
|
|
|
# New ports collection makefile for: xg
|
|
|
|
# Date created: 3 December 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1998-12-23 01:19:33 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 01:11:24 +00:00
|
|
|
PORTNAME= xg
|
|
|
|
PORTVERSION= 1.0
|
1998-12-23 01:19:33 +00:00
|
|
|
CATEGORIES= x11-toolkits
|
|
|
|
MASTER_SITES= ftp://messners.com/code/ \
|
|
|
|
http://www.messners.com/code/
|
2000-04-10 01:11:24 +00:00
|
|
|
DISTNAME= ${PORTNAME}
|
1998-12-23 01:19:33 +00:00
|
|
|
|
2000-03-29 07:16:59 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-12-23 01:19:33 +00:00
|
|
|
|
|
|
|
REQUIRES_MOTIF= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
MAKEFILE= makefile
|
|
|
|
WRKSRC= ${WRKDIR}/Xg-1.0
|
|
|
|
|
|
|
|
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/* ${PREFIX}/share/examples/xg
|
|
|
|
@ ${MV} ${PREFIX}/share/examples/xg/makefile ${PREFIX}/share/examples/xg/Makefile
|
|
|
|
@ ${RM} ${PREFIX}/share/examples/xg/makefile.orig
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.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>
|