aboutsummaryrefslogtreecommitdiffstats
path: root/lang/stklos
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-02-12 21:12:03 +0800
committerrafan <rafan@FreeBSD.org>2007-02-12 21:12:03 +0800
commit49f93a6633c7933887b70bf98187e1bd6c6c5053 (patch)
tree2bdd051a23eb731ce350f43c9df100e3878cbaea /lang/stklos
parent2a14516f5d7ec967dfe78c9187c7468441bd4f0a (diff)
downloadfreebsd-ports-gnome-49f93a6633c7933887b70bf98187e1bd6c6c5053.tar.gz
freebsd-ports-gnome-49f93a6633c7933887b70bf98187e1bd6c6c5053.tar.zst
freebsd-ports-gnome-49f93a6633c7933887b70bf98187e1bd6c6c5053.zip
- No more bash syntax!
- Bump PORTREVISION PR: ports/108948 (based on) Submitted by: clemens fischer <ino-news at spotteswoode.dnsalias.org> Approved by: Ying-Chieh Chen (maintainer via irc)
Diffstat (limited to 'lang/stklos')
-rw-r--r--lang/stklos/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/lang/stklos/Makefile b/lang/stklos/Makefile
index 991fd334418e..6dffc5216814 100644
--- a/lang/stklos/Makefile
+++ b/lang/stklos/Makefile
@@ -7,6 +7,7 @@
PORTNAME= stklos
PORTVERSION= 0.82
+PORTREVISION= 1
CATEGORIES= lang scheme
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -34,7 +35,14 @@ MAN1= stklos-compile.1 stklos-config.1 stklos-genlex.1 stklos.1 \
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/doc/Makefile.in
@${REINPLACE_CMD} -e 's|-@VERSION@||' ${WRKSRC}/doc/Makefile.in
- @${REINPLACE_CMD} -e 's|^function ||' ${WRKSRC}/utils/stklos-config.in
+ @${REINPLACE_CMD} -e 's|^function ||' \
+ ${WRKSRC}/utils/stklos-config.in \
+ ${WRKSRC}/utils/stklos-ext-install \
+ ${WRKSRC}/utils/stklos-install
+ @${REINPLACE_CMD} -e 's|$UID = 0|`id -u` -eq 0|' \
+ ${WRKSRC}/utils/stklos-ext-install \
+ ${WRKSRC}/utils/stklos-install
+
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -E -e 's/^(install-data-am:).*/\1 install-man install-schemeDATA/' \
-e '/install-docpdfDATA install-man install-schemeDATA/d' \