diff options
Diffstat (limited to 'net/xnap/Makefile')
-rw-r--r-- | net/xnap/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/xnap/Makefile b/net/xnap/Makefile index c91221e1e07..e651f568c3d 100644 --- a/net/xnap/Makefile +++ b/net/xnap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/12/31 15:44:29 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2003/07/02 18:28:42 jmmv Exp $ # DISTNAME= xnap-2.0 @@ -11,6 +11,13 @@ COMMENT= Java filesharing client with support for OpenNap NO_BUILD= yes +post-extract: + cd ${WRKSRC} && ${MV} xnap.sh xnap.sh.in + +pre-configure: + cd ${WRKSRC} && ${SED} \ + -e 's|@PREFIX@|${PREFIX}|g' < xnap.sh.in > xnap.sh + do-install: ${CP} ${WRKSRC}/xnap.sh ${PREFIX}/bin/xnap ${INSTALL_PROGRAM_DIR} ${PREFIX}/share/xnap |