1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/devel/yacl/Makefile
Satoshi Asami 7112ba2b40 Change motif to a normal dependency. REQUIRES_MOTIF is now called
USE_MOTIF and generates a LIB_DEPENDS to x11-toolkits/open-motif.  As
before, it implies USE_XPM (and therefore USE_XLIB).  Motif-dummy is
removed from PKG_IGNORE_DEPENDS, whose sole resident is now XFree86-3.

Most of the simple ".if defined(HAVE_MOTIF)"s are removed to always
have USE_MOTIF.  ftp/moxftp will define USE_MOTIF unless
WANT_ATHENA_VERSION (new variable) is defined.  I merged the X cases
in cad/mars, so USE_MOTIF is used iff WITHOUT_X11 is not defined.

I will remove x11-toolkits/Motif-dummy (which has been repo copied to
open-motif) in a few days.
2000-11-07 23:28:20 +00:00

54 lines
1.6 KiB
Makefile

# New ports collection makefile for: YACL
# Date created: 6 March 1998
# Whom: Jeroen Hogeveen <albast@xs4all.nl>
#
# $FreeBSD$
#
PORTNAME= yacl
PORTVERSION= 1.7b
CATEGORIES= devel
MASTER_SITES= ftp://ftp.cs.sc.edu/pub/yacl/
DISTNAME= yacl-0170-beta
MAINTAINER= albast@xs4all.nl
NO_WRKSUBDIR= yes
USE_ZIP= yes
MAKE_ENV= YACLPATH=${WRKDIR}
MAKEFILE= gnuc.mak
ALL_TARGET= yacl
USE_MOTIF= true
post-build:
@(cd ${WRKSRC}/apps/bmpview; ${MAKE} ${MAKE_ENV} -f gnuc.mak)
@(cd ${WRKSRC}/apps/dlged; ${MAKE} ${MAKE_ENV} -f gnuc.mak)
do-install:
# don't split up base directory; keep compilation semantics.
@${MKDIR} ${PREFIX}/lib/yacl ${PREFIX}/share/yacl \
${PREFIX}/share/yacl/apps ${PREFIX}/share/yacl/base \
${PREFIX}/include/yacl ${PREFIX}/include/yacl/io \
${PREFIX}/include/yacl/ui
@${CP} -R ${WRKSRC}/lib/* ${PREFIX}/lib/yacl
@${CP} -R ${WRKSRC}/basedemo ${WRKSRC}/contrib ${WRKSRC}/doc \
${WRKSRC}/control ${WRKSRC}/readme.txt ${WRKSRC}/uidemo \
${PREFIX}/share/yacl
@${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 \
${PREFIX}/share/yacl/apps
@( cd ${PREFIX}/share/yacl; ${LN} -s ${PREFIX}/lib/yacl lib; \
${LN} -s ${PREFIX}/include/yacl/io; ${LN} -s ${PREFIX}/include/yacl/ui )
@${ECHO} "Done. Don't forget to set your YACLPATH environment "
@${ECHO} "variable to ${PREFIX}/share/yacl!"
post-install:
@strip ${PREFIX}/share/yacl/apps/bmpview
@strip ${PREFIX}/share/yacl/apps/dlged
.include <bsd.port.mk>