aboutsummaryrefslogtreecommitdiff
path: root/lang/pike76/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2009-11-20 08:20:44 +0000
committerJohan van Selst <johans@FreeBSD.org>2009-11-20 08:20:44 +0000
commitfa3b71b771d54c9617fdf2fafc454961e50935ed (patch)
tree79a761b67258f6dbfabe7a4745bc07cfe10064e6 /lang/pike76/Makefile
parent4aafe7025daa18694c22b056b831242cba5211eb (diff)
downloadports-fa3b71b771d54c9617fdf2fafc454961e50935ed.tar.gz
ports-fa3b71b771d54c9617fdf2fafc454961e50935ed.zip
Notes
Diffstat (limited to 'lang/pike76/Makefile')
-rw-r--r--lang/pike76/Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/lang/pike76/Makefile b/lang/pike76/Makefile
index d68cb56c29df..f8f83a187b4e 100644
--- a/lang/pike76/Makefile
+++ b/lang/pike76/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pike76
PORTVERSION= 7.6.112
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= lang
MASTER_SITES= ftp://pike.ida.liu.se/pub/pike/beta/${PORTVERSION}/ \
http://pike.ida.liu.se/pub/pike/beta/${PORTVERSION}/ \
@@ -88,10 +88,11 @@ USE_GMAKE= yes
CONFIGURE_ARGS+= --with-perl
USE_PERL5= YES
+PLIST_FILES= bin/pike bin/pike76 bin/hilfe
+
.include <bsd.port.pre.mk>
ONLY_FOR_ARCHS= i386 amd64
-PLIST_SUB+= PORTVERSION=${PORTVERSION}
.if defined(WITHOUT_RELOCATABLE_DUMPED_MODULES)
CONFIGURE_ARGS+= --without-relocatable-dumped-modules
@@ -231,15 +232,13 @@ post-patch:
${WRKSRC}/src/configure
post-install:
- ${STRIP_CMD} ${PREFIX}/pike/${PORTVERSION}/bin/pike
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/hilfe ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/pike.1 ${MAN1PREFIX}/man/man1
-
-verify:
- @(cd ${WRKSRC}; make verify)
-
-# Autodocs is currently b0rken.... :/
-#doc:
-# @(cd ${WRKSRC}; make documentation)
+ @${STRIP_CMD} ${PREFIX}/pike/${PORTVERSION}/bin/pike
+ @${INSTALL_SCRIPT} ${WRKSRC}/bin/hilfe ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/man/pike.1 ${MAN1PREFIX}/man/man1
+ @cd ${PREFIX} && ${FIND} pike/${PORTVERSION} ! -type d >> ${TMPPLIST}
+ @cd ${PREFIX} && ${FIND} pike/${PORTVERSION} -type d -empty -delete
+ @cd ${PREFIX} && ${FIND} -d pike/${PORTVERSION} -type d | \
+ ${SED} 's,^,@dirrm ,' >> ${TMPPLIST}
+ @${ECHO} '@unexec rmdir %D/pike 2>/dev/null || true' >> ${TMPPLIST}
.include <bsd.port.post.mk>