summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-04-09 19:33:03 +0000
committerjmmv <jmmv@pkgsrc.org>2005-04-09 19:33:03 +0000
commit462c4c9c50f6c7846b9e349f8f61a03abf10df82 (patch)
treef4a45d73ae5afcddf732d3adb086c544694413ba /net
parent6e21845f8a0d9ad7335d2b8caa1be9bc9cd4b035 (diff)
downloadpkgsrc-462c4c9c50f6c7846b9e349f8f61a03abf10df82.tar.gz
Generate the launcher script at build time.
Diffstat (limited to 'net')
-rw-r--r--net/skype/Makefile9
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"