Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 09:52:39 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339413 - head/print/pdfjam
Message-ID:  <201401110952.s0B9qdbP084511@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sat Jan 11 09:52:39 2014
New Revision: 339413
URL: http://svnweb.freebsd.org/changeset/ports/339413

Log:
  Enable stage support

Modified:
  head/print/pdfjam/Makefile

Modified: head/print/pdfjam/Makefile
==============================================================================
--- head/print/pdfjam/Makefile	Sat Jan 11 09:40:52 2014	(r339412)
+++ head/print/pdfjam/Makefile	Sat Jan 11 09:52:39 2014	(r339413)
@@ -17,25 +17,24 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 PROGS=		pdf90 pdf180 pdf270 pdfbook pdfflip pdfjam \
 		pdfjam-pocketmod pdfjam-slides3up pdfjam-slides6up \
 		pdfjoin pdfnup pdfpun
-MAN1=		${PROGS:S/$/.1/}
-PLIST_FILES=	${PROGS:S/^/bin\//} etc/pdfjam.conf.dist
+PLIST_FILES=	${PROGS:S/^/bin\//} etc/pdfjam.conf.dist \
+		${PROGS:S|^|man/man1/|:S/$/.1.gz/}
 PORTDOCS=	PDFjam-README.html pdfdroplets.png
 
 NO_BUILD=	yes
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 do-install:
 .for FILE in ${PROGS}
-	${INSTALL_SCRIPT} ${WRKSRC}/bin/${FILE} ${PREFIX}/bin
-.endfor
-.for FILE in ${MAN1}
-	${INSTALL_MAN} ${WRKSRC}/man1/${FILE} ${MAN1PREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/${FILE} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man1/${FILE}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 .endfor
-	${INSTALL_DATA} ${WRKSRC}/pdfjam.conf ${PREFIX}/etc/pdfjam.conf.dist
+	${INSTALL_DATA} ${WRKSRC}/pdfjam.conf ${STAGEDIR}${PREFIX}/etc/pdfjam.conf.dist
 .ifndef NOPORTDOCS
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for FILE in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 



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