aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2014-02-28 18:11:47 +0800
committerculot <culot@FreeBSD.org>2014-02-28 18:11:47 +0800
commit2a8809abefbcdf3e290c34cc21f84f66106f2b66 (patch)
tree4ff53a4f17c76bceeec030ff15ff7e163d462432 /deskutils
parente7c28b7dc25c21c3ce3434f8325e3a4f9aec51a3 (diff)
downloadfreebsd-ports-gnome-2a8809abefbcdf3e290c34cc21f84f66106f2b66.tar.gz
freebsd-ports-gnome-2a8809abefbcdf3e290c34cc21f84f66106f2b66.tar.zst
freebsd-ports-gnome-2a8809abefbcdf3e290c34cc21f84f66106f2b66.zip
- Support staging
- Convert to USES framework - Update LICENSE (BSD 2-clause) - Fix erroneous conditional install of manpage (leading to PORTREVISION bump)
Diffstat (limited to 'deskutils')
-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