aboutsummaryrefslogtreecommitdiffstats
path: root/cad/alliance/Makefile
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2006-06-13 22:27:03 +0800
committerhrs <hrs@FreeBSD.org>2006-06-13 22:27:03 +0800
commit4f4c875d01b93473e886892d77d46eb4231ed7f4 (patch)
treef44a8a9f96782b9383ff4dd05e5cc259405c949d /cad/alliance/Makefile
parentc5762c72f614e770273f379e2be04f4369c8eeb9 (diff)
downloadfreebsd-ports-gnome-4f4c875d01b93473e886892d77d46eb4231ed7f4.tar.gz
freebsd-ports-gnome-4f4c875d01b93473e886892d77d46eb4231ed7f4.tar.zst
freebsd-ports-gnome-4f4c875d01b93473e886892d77d46eb4231ed7f4.zip
- Fix an invalid knob (s/USE_X/USE_XLIB/)[1].
- Use SUB_FILES. Spotted by: erwin[1]
Diffstat (limited to 'cad/alliance/Makefile')
-rw-r--r--cad/alliance/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/cad/alliance/Makefile b/cad/alliance/Makefile
index c91d0fde95ba..b132d49a9c18 100644
--- a/cad/alliance/Makefile
+++ b/cad/alliance/Makefile
@@ -20,7 +20,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-5.0
USE_BISON= yes
USE_GMAKE= yes
USE_MOTIF= yes
-USE_X= yes
+USE_XLIB= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV+= ALLIANCE_TOP=${ALLIANCE_TOP}
@@ -28,9 +28,7 @@ CONFIGURE_ARGS+=--mandir=${PREFIX}/man \
--x-libraries=${X11BASE}/lib \
--x-includes=${X11BASE}/include \
--prefix=${ALLIANCE_TOP} ${CONFIGURE_TARGET}
-
-PKGMESSAGE= ${WRKDIR}/pkg-message
-PKGMESSAGE_IN= ${FILESDIR}/pkg-message.in
+SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
@@ -197,7 +195,6 @@ pre-su-install:
${MKDIR} ${ALLIANCE_TOP}
post-install:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},' < ${PKGMESSAGE_IN} > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>