1999-03-20 05:34:41 +00:00
|
|
|
# New ports collection makefile for: YACL
|
|
|
|
# Date created: 6 March 1998
|
|
|
|
# Whom: Jeroen Hogeveen <albast@xs4all.nl>
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1999-03-20 05:34:41 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 05:44:42 +00:00
|
|
|
PORTNAME= yacl
|
|
|
|
PORTVERSION= 1.7b
|
1999-03-20 05:34:41 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://ftp.cs.sc.edu/pub/yacl/
|
2000-04-14 05:44:42 +00:00
|
|
|
DISTNAME= yacl-0170-beta
|
1999-03-20 05:34:41 +00:00
|
|
|
|
|
|
|
MAINTAINER= albast@xs4all.nl
|
|
|
|
|
2000-04-14 18:40:29 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
1999-05-01 12:34:38 +00:00
|
|
|
USE_ZIP= yes
|
2000-04-14 05:44:42 +00:00
|
|
|
MAKE_ENV= YACLPATH=${WRKDIR}
|
1999-03-20 05:34:41 +00:00
|
|
|
|
|
|
|
MAKEFILE= gnuc.mak
|
|
|
|
ALL_TARGET= yacl
|
|
|
|
|
2000-11-07 23:28:20 +00:00
|
|
|
USE_MOTIF= true
|
1999-03-20 05:34:41 +00:00
|
|
|
|
|
|
|
post-build:
|
2000-02-27 23:20:31 +00:00
|
|
|
@(cd ${WRKSRC}/apps/bmpview; ${MAKE} ${MAKE_ENV} -f gnuc.mak)
|
|
|
|
@(cd ${WRKSRC}/apps/dlged; ${MAKE} ${MAKE_ENV} -f gnuc.mak)
|
1999-03-20 05:34:41 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
# don't split up base directory; keep compilation semantics.
|
1999-08-22 23:33:47 +00:00
|
|
|
@${MKDIR} ${PREFIX}/lib/yacl ${PREFIX}/share/yacl \
|
1999-03-20 05:34:41 +00:00
|
|
|
${PREFIX}/share/yacl/apps ${PREFIX}/share/yacl/base \
|
|
|
|
${PREFIX}/include/yacl ${PREFIX}/include/yacl/io \
|
|
|
|
${PREFIX}/include/yacl/ui
|
1999-08-22 23:33:47 +00:00
|
|
|
@${CP} -R ${WRKSRC}/lib/* ${PREFIX}/lib/yacl
|
|
|
|
@${CP} -R ${WRKSRC}/basedemo ${WRKSRC}/contrib ${WRKSRC}/doc \
|
1999-03-20 05:34:41 +00:00
|
|
|
${WRKSRC}/control ${WRKSRC}/readme.txt ${WRKSRC}/uidemo \
|
|
|
|
${PREFIX}/share/yacl
|
1999-08-22 23:33:47 +00:00
|
|
|
@${CP} ${WRKSRC}/base/*.h ${WRKSRC}/base/*.cxx ${PREFIX}/share/yacl/base
|
|
|
|
@${CP} ${WRKSRC}/io/*.h ${PREFIX}/include/yacl/io
|
|
|
|
@${CP} ${WRKSRC}/ui/*.h ${PREFIX}/include/yacl/ui
|
|
|
|
@${CP} ${WRKSRC}/apps/bmpview/bmpview ${WRKSRC}/apps/dlged/dlged \
|
1999-03-20 05:34:41 +00:00
|
|
|
${PREFIX}/share/yacl/apps
|
1999-08-28 01:58:05 +00:00
|
|
|
@( cd ${PREFIX}/share/yacl; ${LN} -s ${PREFIX}/lib/yacl lib; \
|
|
|
|
${LN} -s ${PREFIX}/include/yacl/io; ${LN} -s ${PREFIX}/include/yacl/ui )
|
1999-03-20 05:34:41 +00:00
|
|
|
@${ECHO} "Done. Don't forget to set your YACLPATH environment "
|
2000-02-27 23:20:31 +00:00
|
|
|
@${ECHO} "variable to ${PREFIX}/share/yacl!"
|
1999-03-20 05:34:41 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@strip ${PREFIX}/share/yacl/apps/bmpview
|
|
|
|
@strip ${PREFIX}/share/yacl/apps/dlged
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|