summaryrefslogtreecommitdiff
path: root/net/icsi-finger
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-07-05 20:45:43 +0000
committertron <tron@pkgsrc.org>1999-07-05 20:45:43 +0000
commitc5474d4023ee2356bc236c9793a5a1707b1e8522 (patch)
treeb75472c7dcc5d18925584c3444b33fcadd516114 /net/icsi-finger
parent450fc5b7b2681f8c2c61a0cfb1de85e8a0189639 (diff)
downloadpkgsrc-c5474d4023ee2356bc236c9793a5a1707b1e8522.tar.gz
Remove ugly hack used to build message file.
Diffstat (limited to 'net/icsi-finger')
-rw-r--r--net/icsi-finger/Makefile16
-rw-r--r--net/icsi-finger/pkg/MESSAGE (renamed from net/icsi-finger/pkg/MESSAGE.pre)2
2 files changed, 9 insertions, 9 deletions
diff --git a/net/icsi-finger/Makefile b/net/icsi-finger/Makefile
index 577f81b2b46..4ace836fdf8 100644
--- a/net/icsi-finger/Makefile
+++ b/net/icsi-finger/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 1998/07/22 12:08:23 is Exp $
+# $NetBSD: Makefile,v 1.2 1999/07/05 20:45:43 tron Exp $
#
DISTNAME= icsi-finger-1.0.27
@@ -9,11 +9,15 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= is@netbsd.org
+USE_X11= yes
+
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+
XMPLD= ${PREFIX}/share/examples/icsi-finger
XMPLDT= ${XMPLD}/targets
pre-configure:
- -${RM} -f ${WRKSRC}/config.h
+ ${RM} -f ${WRKSRC}/config.h
${SED} -e s@/usr/local@${PREFIX}@ \
-e s@/usr/pkg@${PREFIX}@ \
files/config.h.netbsd > ${WRKSRC}/config.h
@@ -25,7 +29,7 @@ pre-configure:
${WRKSRC}/support/inetd.conf-add
${MV} -f ${WRKSRC}/support/rc.local-add \
${WRKSRC}/support/rc.local-add.bak
- ${SED} -e s@/usr/local/bin/@${PREFIX}/sbin/g@ \
+ ${SED} -e s@/usr/local/bin/@${PREFIX}/sbin/g@ \
${WRKSRC}/support/rc.local-add.bak > \
${WRKSRC}/support/rc.local-add
for i in ${WRKSRC}/src/targets/x-.busy \
@@ -35,8 +39,8 @@ pre-configure:
$$i.bak > $$i ; \
${RM} -f $$i.bak ; \
done
- ${SED} -e s@/usr/pkg@${PREFIX}@g pkg/MESSAGE.pre | \
- fmt > pkg/MESSAGE
+ ${SED} -e s@/usr/pkg@${PREFIX}@g ${PKGDIR}/MESSAGE | \
+ fmt >${WRKDIR}/MESSAGE
do-${INSTALL}:
${INSTALL} -c -m 755 ${WRKSRC}/src/finger ${PREFIX}/bin/gfinger
@@ -58,6 +62,4 @@ do-${INSTALL}:
(cd ${WRKSRC}/src; ${MAKE} ${INSTALL}.man)
(cd ${WRKSRC}/src; ${MAKE} TARGETD=${XMPLDT} ${INSTALL}.targets )
-pre-clean:
- -${RM} pkg/MESSAGE
.include "../../mk/bsd.pkg.mk"
diff --git a/net/icsi-finger/pkg/MESSAGE.pre b/net/icsi-finger/pkg/MESSAGE
index 699c9b24532..31b99d1fae3 100644
--- a/net/icsi-finger/pkg/MESSAGE.pre
+++ b/net/icsi-finger/pkg/MESSAGE
@@ -1,5 +1,3 @@
-$NetBSD: MESSAGE.pre,v 1.1 1998/07/22 12:08:24 is Exp $
-
This is the NetBSD package for ICSI-finger, a more advanced version of
GNU finger.