aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-13 19:55:45 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-13 19:55:45 +0800
commit051dda84917efff12e53bb94e277be2f4ffdc892 (patch)
tree508d07607f925db9b567e41478cf82500b28e635
parent2faf4f299cec95bb055bfe951aac5d5c702224b9 (diff)
downloadfreebsd-ports-gnome-051dda84917efff12e53bb94e277be2f4ffdc892.tar.gz
freebsd-ports-gnome-051dda84917efff12e53bb94e277be2f4ffdc892.tar.zst
freebsd-ports-gnome-051dda84917efff12e53bb94e277be2f4ffdc892.zip
Support staging
-rw-r--r--astro/stardates/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/astro/stardates/Makefile b/astro/stardates/Makefile
index 40df1e677758..ddf5201ed6af 100644
--- a/astro/stardates/Makefile
+++ b/astro/stardates/Makefile
@@ -11,15 +11,15 @@ MASTER_SITES= ftp://ftp.cc.umanitoba.ca/startrek/stardates-pgms/ \
MAINTAINER= freebsd-ports@henrik.synth.no
COMMENT= Displays date in 5 formats (including stardate of course)
-NO_STAGE= yes
-MAN1= stardate.1
-PLIST_FILES= bin/stardate
+PLIST_FILES= bin/stardate man/man1/stardate.1.gz
do-build:
${CC} ${CFLAGS} ${WRKSRC}/stardate.c -o ${WRKSRC}/stardate
do-install:
- ${INSTALL} ${WRKSRC}/stardate ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/stardate.1 ${MAN1PREFIX}/man/man1/stardate.1
+ ${INSTALL} ${WRKSRC}/stardate ${STAGEDIR}${PREFIX}/bin
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/stardate
+ ${INSTALL_MAN} ${WRKSRC}/stardate.1 \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>