diff options
author | jmmv <jmmv> | 2005-04-09 19:33:03 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2005-04-09 19:33:03 +0000 |
commit | ddfcf7542ee4c82648a1f33686984ccac0008762 (patch) | |
tree | f4a45d73ae5afcddf732d3adb086c544694413ba /net/skype | |
parent | 260622a0d88a55b4935460e8191bff1729f6ed97 (diff) | |
download | pkgsrc-ddfcf7542ee4c82648a1f33686984ccac0008762.tar.gz |
Generate the launcher script at build time.
Diffstat (limited to 'net/skype')
-rw-r--r-- | net/skype/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/skype/Makefile b/net/skype/Makefile index 668db064f0f..9194089b2d2 100644 --- a/net/skype/Makefile +++ b/net/skype/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/02/18 12:48:10 martti Exp $ +# $NetBSD: Makefile,v 1.5 2005/04/09 19:33:03 jmmv Exp $ # DISTNAME= skype_staticQT-${DIST_VERSION} @@ -25,7 +25,6 @@ USE_X11= yes ONLY_FOR_PLATFORM= *-*-i386 -NO_BUILD= yes NO_CONFIGURE= yes CHECK_SHLIBS= no @@ -39,11 +38,13 @@ LICENSE= skype-license DATADIR= ${PREFIX}/share/skype +do-build: + @${ECHO} "#!${SH}" > ${WRKSRC}/skype.sh + @${ECHO} 'cd ${DATADIR} && exec ./skype $$@' >> ${WRKSRC}/skype.sh + do-install: ${INSTALL_DATA_DIR} ${DATADIR} cd ${WRKSRC} && ${PAX} -rwppm . ${DATADIR} - @${ECHO} "#!${SH}" > ${WRKSRC}/skype.sh - @${ECHO} 'cd ${DATADIR} && exec ./skype $$@' >> ${WRKSRC}/skype.sh ${INSTALL_SCRIPT} ${WRKSRC}/skype.sh ${PREFIX}/bin/skype .include "../../mk/bsd.pkg.mk" |