aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ddate
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-10-25 22:33:17 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-10-25 22:33:17 +0800
commit93cab32470524ab19cd5d13c1e829fcb9bbb4adc (patch)
tree2e4cd8bd413e882f77dff0124f17b1d9d03b4ed4 /misc/ddate
parent46cd5e3a347785b79abb6b0288d03151d84667e9 (diff)
downloadfreebsd-ports-gnome-93cab32470524ab19cd5d13c1e829fcb9bbb4adc.tar.gz
freebsd-ports-gnome-93cab32470524ab19cd5d13c1e829fcb9bbb4adc.tar.zst
freebsd-ports-gnome-93cab32470524ab19cd5d13c1e829fcb9bbb4adc.zip
Support staging.
Diffstat (limited to 'misc/ddate')
-rw-r--r--misc/ddate/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/misc/ddate/Makefile b/misc/ddate/Makefile
index ad8655962ab0..c437a24724fb 100644
--- a/misc/ddate/Makefile
+++ b/misc/ddate/Makefile
@@ -14,7 +14,7 @@ COMMENT= Command to print the date in Discordian date format
LICENSE= GPLv2
-PLIST_FILES= bin/ddate
+PLIST_FILES= bin/ddate man/man1/ddate.1.gz
GNU_CONFIGURE= yes
USE_XZ= yes
@@ -28,8 +28,6 @@ CONFIGURE_ARGS= --disable-libuuid --disable-libblkid --disable-libmount \
--disable-rename --disable-login --disable-sulogin \
--disable-su --disable-schedutils --disable-wall
-MAN1= ddate.1
-
OPTIONS_DEFINE= USFORMAT PRAISEBOB KILLBOB
USFORMAT_DESC= US time format
@@ -38,7 +36,6 @@ KILLBOB_DESC= Countdown to X-Day
OPTIONS_DEFAULT=KILLBOB
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MUSFORMAT}
@@ -58,7 +55,9 @@ do-build:
-o ${WRKSRC}/misc-utils/${PORTNAME}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/misc-utils/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/misc-utils/ddate.1 ${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/misc-utils/${PORTNAME} \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/misc-utils/ddate.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>