1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Enable stage support

- Fix perl shebang path
- Bump PORTREVISION
This commit is contained in:
Johan van Selst 2013-12-28 21:33:14 +00:00
parent 3e90622b0c
commit a5953c0017
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337919

View File

@ -1,10 +1,11 @@
# Created by: Cyrille Lefevre <clefevre@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@FreeBSD.org
COMMENT= The GNU Gregorian calendar program
@ -12,15 +13,15 @@ COMMENT= The GNU Gregorian calendar program
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>