aboutsummaryrefslogtreecommitdiff
path: root/deskutils/calcurse
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2014-02-28 10:11:47 +0000
committerFrederic Culot <culot@FreeBSD.org>2014-02-28 10:11:47 +0000
commitea7b2fb0d7469689ceb39f3a0d7cfa34b1686cba (patch)
tree4ff53a4f17c76bceeec030ff15ff7e163d462432 /deskutils/calcurse
parent7079515898cfa97ac19f74f6828be5d4ac1b61a8 (diff)
downloadports-ea7b2fb0d7469689ceb39f3a0d7cfa34b1686cba.tar.gz
ports-ea7b2fb0d7469689ceb39f3a0d7cfa34b1686cba.zip
- Support staging
- Convert to USES framework - Update LICENSE (BSD 2-clause) - Fix erroneous conditional install of manpage (leading to PORTREVISION bump)
Notes
Notes: svn path=/head/; revision=346480
Diffstat (limited to 'deskutils/calcurse')
-rw-r--r--deskutils/calcurse/Makefile14
-rw-r--r--deskutils/calcurse/pkg-plist1
2 files changed, 6 insertions, 9 deletions
diff --git a/deskutils/calcurse/Makefile b/deskutils/calcurse/Makefile
index 10082817aea1..f95cb384232f 100644
--- a/deskutils/calcurse/Makefile
+++ b/deskutils/calcurse/Makefile
@@ -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
-
-MAN1= calcurse.1
+CONFIGURE_ARGS= --without-asciidoc
-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>
diff --git a/deskutils/calcurse/pkg-plist b/deskutils/calcurse/pkg-plist
index 161f4ffcfac8..e0cafe1d140b 100644
--- a/deskutils/calcurse/pkg-plist
+++ b/deskutils/calcurse/pkg-plist
@@ -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