Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 12:43:40 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361072 - head/print/ps2eps
Message-ID:  <201407071243.s67Cheob062225@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Jul  7 12:43:39 2014
New Revision: 361072
URL: http://svnweb.freebsd.org/changeset/ports/361072
QAT: https://qat.redports.org/buildarchive/r361072/

Log:
  1: Stagify.
  2: switch PORTNODOCS to options.
  
  Approved by:	portmgr@ (blanket)

Modified:
  head/print/ps2eps/Makefile
  head/print/ps2eps/pkg-plist

Modified: head/print/ps2eps/Makefile
==============================================================================
--- head/print/ps2eps/Makefile	Mon Jul  7 12:38:21 2014	(r361071)
+++ head/print/ps2eps/Makefile	Mon Jul  7 12:43:39 2014	(r361072)
@@ -16,30 +16,27 @@ WRKSRC=		${WRKDIR}/ps2eps
 USE_GHOSTSCRIPT_RUN=	yes
 USES=		perl5
 USE_PERL5=	run
-MAN1=		ps2eps.1 bbox.1
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 do-build:
 	${CC} -o ${WRKSRC}/bbox ${WRKSRC}/src/C/bbox.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bbox ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/bin/ps2eps ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/bbox.1 ${PREFIX}/man/man1/
-	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/ps2eps.1 ${PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/bbox ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/ps2eps ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/bbox.1 ${STAGEDIR}${PREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/ps2eps.1 ${STAGEDIR}${PREFIX}/man/man1/
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${MKDIR} ${DOCSDIR}/html
-	@${MKDIR} ${DOCSDIR}/pdf
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/Changes.txt ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/html/bbox.html ${DOCSDIR}/html
-	${INSTALL_DATA} ${WRKSRC}/doc/html/ps2eps.html ${DOCSDIR}/html
-	${INSTALL_DATA} ${WRKSRC}/doc/pdf/bbox.pdf ${DOCSDIR}/pdf
-	${INSTALL_DATA} ${WRKSRC}/doc/pdf/ps2eps.pdf ${DOCSDIR}/pdf
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/Changes.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/html/bbox.html ${STAGEDIR}${DOCSDIR}/html
+	${INSTALL_DATA} ${WRKSRC}/doc/html/ps2eps.html ${STAGEDIR}${DOCSDIR}/html
+	${INSTALL_DATA} ${WRKSRC}/doc/pdf/bbox.pdf ${STAGEDIR}${DOCSDIR}/pdf
+	${INSTALL_DATA} ${WRKSRC}/doc/pdf/ps2eps.pdf ${STAGEDIR}${DOCSDIR}/pdf
 
 .include <bsd.port.mk>

Modified: head/print/ps2eps/pkg-plist
==============================================================================
--- head/print/ps2eps/pkg-plist	Mon Jul  7 12:38:21 2014	(r361071)
+++ head/print/ps2eps/pkg-plist	Mon Jul  7 12:43:39 2014	(r361072)
@@ -1,5 +1,7 @@
 bin/bbox
 bin/ps2eps
+man/man1/bbox.1.gz
+man/man1/ps2eps.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README.txt
 %%PORTDOCS%%%%DOCSDIR%%/Changes.txt
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407071243.s67Cheob062225>