svn commit: r344090 - head/astro/stardates

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 13 11:55:46 UTC 2014


Author: ehaupt
Date: Thu Feb 13 11:55:45 2014
New Revision: 344090
URL: http://svnweb.freebsd.org/changeset/ports/344090
QAT: https://qat.redports.org/buildarchive/r344090/

Log:
  Support staging

Modified:
  head/astro/stardates/Makefile

Modified: head/astro/stardates/Makefile
==============================================================================
--- head/astro/stardates/Makefile	Thu Feb 13 11:53:20 2014	(r344089)
+++ head/astro/stardates/Makefile	Thu Feb 13 11:55:45 2014	(r344090)
@@ -11,15 +11,15 @@ MASTER_SITES=	ftp://ftp.cc.umanitoba.ca/
 MAINTAINER=	freebsd-ports at 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>


More information about the svn-ports-head mailing list