- Support staging

- Convert to USES framework
- Update LICENSE (BSD 2-clause)
- Fix erroneous conditional install of manpage (leading to PORTREVISION bump)
This commit is contained in:
Frederic Culot 2014-02-28 10:11:47 +00:00
parent 7079515898
commit ea7b2fb0d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346480
2 changed files with 6 additions and 9 deletions

View file

@ -3,23 +3,21 @@
PORTNAME= calcurse
PORTVERSION= 3.1.4
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= http://calcurse.org/files/
MAINTAINER= culot@FreeBSD.org
COMMENT= Text-based calendar and scheduling application
LICENSE= BSD
LICENSE= BSD2CLAUSE
OPTIONS_DEFINE= DOCS NLS
CONFIGURE_ARGS= --without-asciidoc
USES= gmake
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --without-asciidoc
MAN1= calcurse.1
NO_STAGE= yes
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MDOCS)
@ -40,8 +38,6 @@ post-patch:
.endif
post-install:
.if empty(PORT_OPTIONS:MDOCS)
cd ${WRKSRC}/doc/ && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1/
.endif
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
.include <bsd.port.mk>

View file

@ -1,5 +1,6 @@
bin/calcurse
bin/calcurse-upgrade
man/man1/calcurse.1.gz
%%PORTDOCS%%%%DOCSDIR%%/manual.html
%%PORTDOCS%%%%DOCSDIR%%/submitting-patches.html
%%NLS%%share/locale/de/LC_MESSAGES/calcurse.mo