summaryrefslogtreecommitdiff
path: root/mail/faces/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2001-11-29 18:00:31 +0000
committerwiz <wiz>2001-11-29 18:00:31 +0000
commit53c30f682aa35428c4f52d06b6269cee48e7055f (patch)
tree1716953bdc352cd2f92bb7d159b754b23e90f24e /mail/faces/Makefile
parentf7acb4eb867b156c4af061a5bce921713fa806ae (diff)
downloadpkgsrc-53c30f682aa35428c4f52d06b6269cee48e7055f.tar.gz
Misc fixes:
Remove a dead MASTER_SITE. Use PLIST_SUBST instead of local hack. Create app-defaults dir if missing (solves pkg/13179). Don't hardwire incorrect app-defaults path in patch-at.
Diffstat (limited to 'mail/faces/Makefile')
-rw-r--r--mail/faces/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index ca7b757e12c..ec7cb8edf6f 100644
--- a/mail/faces/Makefile
+++ b/mail/faces/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2001/07/24 17:04:27 tron Exp $
+# $NetBSD: Makefile,v 1.23 2001/11/29 18:00:31 wiz Exp $
DISTNAME= faces-1.6.1
CATEGORIES= mail
-MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/faces/faces/ \
- ftp://odie.physik2.uni-rostock.de/pub/
+MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/faces/faces/
EXTRACT_SUFX= .tar.Z
MAINTAINER= packages@netbsd.org
@@ -17,6 +16,8 @@ USE_X11= yes
MAKE_ENV+= MKLINT=no
WRKSRC= ${WRKDIR}/faces
+PLIST_SUBST+= LOCALBASE="${LOCALBASE}" X11PREFIX="${X11PREFIX}"
+
do-configure:
@cd ${WRKSRC}; \
for f in Makefile faces.h x11.c compface/Makefile \
@@ -30,13 +31,9 @@ do-configure:
# for OBJECT_FMT and OPSYS
.include "../../mk/bsd.prefs.mk"
-PLIST_SRC= ${WRKDIR}/.PLIST-src
-
post-install:
${LN} -f ${PREFIX}/man/man1/compface.1 ${PREFIX}/man/man1/uncompface.1
${LN} -f ${PREFIX}/man/man3/compface.3 ${PREFIX}/man/man3/uncompface.3
- @${SED} -e 's|@localbase@|'${LOCALBASE}'|g' \
- -e 's|@x11prefix@|'${X11PREFIX}'|g' < ${PKGDIR}/PLIST > ${PLIST_SRC}
.if (${OBJECT_FMT} == "ELF")
${LN} -fs ${LOCALBASE}/lib/libcompface.so.1.0 ${LOCALBASE}/lib/libcompface.so.1
${LN} -fs ${LOCALBASE}/lib/libcompface.so.1.0 ${LOCALBASE}/lib/libcompface.so