svn commit: r337919 - head/deskutils/gcal
Johan van Selst
johans at FreeBSD.org
Sat Dec 28 21:33:15 UTC 2013
Author: johans
Date: Sat Dec 28 21:33:14 2013
New Revision: 337919
URL: http://svnweb.freebsd.org/changeset/ports/337919
Log:
- Enable stage support
- Fix perl shebang path
- Bump PORTREVISION
Modified:
head/deskutils/gcal/Makefile
Modified: head/deskutils/gcal/Makefile
==============================================================================
--- head/deskutils/gcal/Makefile Sat Dec 28 21:24:17 2013 (r337918)
+++ head/deskutils/gcal/Makefile Sat Dec 28 21:33:14 2013 (r337919)
@@ -1,10 +1,11 @@
# Created by: Cyrille Lefevre <clefevre at citeweb.net>
# $FreeBSD$
-PORTNAME= gcal
-PORTVERSION= 3.6.3
-CATEGORIES= deskutils
-MASTER_SITES= GNU
+PORTNAME= gcal
+PORTVERSION= 3.6.3
+PORTREVISION= 1
+CATEGORIES= deskutils
+MASTER_SITES= GNU
MAINTAINER= johans at FreeBSD.org
COMMENT= The GNU Gregorian calendar program
@@ -12,15 +13,15 @@ COMMENT= The GNU Gregorian calendar prog
USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
+USES= shebangfix
+SHEBANG_FILES= misc/gcalltx/gcalltxp.in misc/gcalltx/gcalltx.pl
INFO= gcal
-#MAN1= gcal.1 gcal2txt.1 tcal.1 txt2gcal.1
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USES= gettext
+USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
@@ -39,10 +40,11 @@ post-patch:
post-install:
@${TAR} -cf - -C ${WRKSRC} --exclude '*.in' --exclude '*.in.bak' \
- --exclude '*.alias' misc | ${TAR} -xpf - -C ${DATADIR}
+ --exclude '*.alias' misc | \
+ ${TAR} -xpf - -C ${STAGEDIR}${DATADIR}
.for p in ${GCAL_SCRIPTS}
- @${CHMOD} +x ${DATADIR}/misc/${p}
- @${LN} -s ${DATADIR}/misc/${p} ${PREFIX}/bin/gcal-${p:T}
+ @${CHMOD} +x ${STAGEDIR}${DATADIR}/misc/${p}
+ @${LN} -s ${DATADIR}/misc/${p} ${STAGEDIR}${PREFIX}/bin/gcal-${p:T}
.endfor
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list