diff options
author | jlam <jlam> | 2001-09-12 07:36:31 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-09-12 07:36:31 +0000 |
commit | 3c2226306e5fe58db544a4a54c808c9698fae3c2 (patch) | |
tree | dbaf1f98d33592646b7194af8402ecef5c9be07f /graphics/tcm/Makefile | |
parent | d539fb0b19fde8cd0b6a4c25b9390c485cf2293a (diff) | |
download | pkgsrc-3c2226306e5fe58db544a4a54c808c9698fae3c2.tar.gz |
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'graphics/tcm/Makefile')
-rw-r--r-- | graphics/tcm/Makefile | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/graphics/tcm/Makefile b/graphics/tcm/Makefile index e15c6502cd6..4752b8aaa45 100644 --- a/graphics/tcm/Makefile +++ b/graphics/tcm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/05/10 23:35:27 jtb Exp $ +# $NetBSD: Makefile,v 1.8 2001/09/12 07:36:31 jlam Exp $ DISTNAME= tcm-2.01.src PKGNAME= tcm-2.01 @@ -11,10 +11,11 @@ COMMENT= TCM - Toolkit for Conceptual Modeling WRKSRC= ${WRKDIR}/tcm-2.01/src -USE_X11= yes -USE_X11BASE= yes -USE_MOTIF= yes +USE_BUILDLINK_ONLY= YES +# These two variables denote where the installed location of the libraries +# are located. +# MAKE_ENV+= XWIN_HOME=${X11BASE} MAKE_ENV+= MOTIF_HOME=${MOTIFBASE} @@ -32,9 +33,9 @@ do-configure: ${RM} -f ${WRKSRC}/Makefile ${LN} -fs ${WRKSRC}/Makefile.gcc ${WRKSRC}/Makefile ${MV} -f ${WRKSRC}/gl/system.c ${WRKSRC}/gl/system.c.dist - ${SED} -e 's:@PREFIX@:${PREFIX}:g' \ - -e 's:@X11BASE@:${X11BASE}:g' \ - -e 's:@LOCALBASE@:${LOCALBASE}':g \ + ${SED} -e "s|@PREFIX@|${PREFIX}|g" \ + -e "s|@X11BASE@|${X11BASE}|g" \ + -e "s|@LOCALBASE@|${LOCALBASE}|g" \ ${WRKSRC}/gl/system.c.dist > ${WRKSRC}/gl/system.c for f in `${FIND} ${WRKSRC} -name \*.c`; do \ ${MV} -f $$f $$f`${ECHO} c`; \ @@ -83,4 +84,10 @@ do-install: ${INSTALL_DATA} ${TCM_SRC}/doc/wishlist/* \ ${PREFIX}/share/doc/html/tcm/wishlist/ +.include "../../mk/motif.buildlink.mk" +.include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" + +.if defined(MOTIF_TYPE) && (${MOTIF_TYPE} == "lesstif") +CPPFLAGS+= -DLESSTIF +.endif |