Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2014 23:32:31 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361013 - head/math/ploticus
Message-ID:  <201407062332.s66NWVfi091901@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sun Jul  6 23:32:30 2014
New Revision: 361013
URL: http://svnweb.freebsd.org/changeset/ports/361013
QAT: https://qat.redports.org/buildarchive/r361013/

Log:
  Stagify.

Modified:
  head/math/ploticus/Makefile
  head/math/ploticus/pkg-plist

Modified: head/math/ploticus/Makefile
==============================================================================
--- head/math/ploticus/Makefile	Sun Jul  6 21:22:56 2014	(r361012)
+++ head/math/ploticus/Makefile	Sun Jul  6 23:32:30 2014	(r361013)
@@ -39,32 +39,19 @@ PKGNAMESUFFIX=	-nox11
 USE_XORG=	xpm
 .endif
 
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1=		ploticus.1
-MAN3=		libploticus.3
-MANCOMPRESSED=	no
-.endif
-
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
 		${BUILD_WRKSRC}/Makefile ${BUILD_WRKSRC}/mkapi
 
 do-install:
-	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/pl ${PREFIX}/bin/ploticus
-	@${MKDIR} ${DATADIR}
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/pl ${STAGEDIR}${PREFIX}/bin/ploticus
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 	cd ${WRKSRC}/prefabs && ${FIND} . | \
-		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
-
-.if !defined(NO_INSTALL_MANPAGES)
-	${INSTALL_MAN} ${WRKSRC}/man/man1/pl.1 ${MANPREFIX}/man/man1/ploticus.1
-	${INSTALL_MAN} ${WRKSRC}/man/man3/${MAN3} ${MANPREFIX}/man/man3
-.endif
-
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}
+		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}
+	${INSTALL_MAN} ${WRKSRC}/man/man1/pl.1 ${STAGEDIR}${MANPREFIX}/man/man1/ploticus.1
+	${INSTALL_MAN} ${WRKSRC}/man/man3/libploticus.3 ${STAGEDIR}${MANPREFIX}/man/man3
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	cd ${WRKSRC}/pltestsuite && ${FIND} . \! -name "*.orig" | \
-		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
-.endif
+		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/math/ploticus/pkg-plist
==============================================================================
--- head/math/ploticus/pkg-plist	Sun Jul  6 21:22:56 2014	(r361012)
+++ head/math/ploticus/pkg-plist	Sun Jul  6 23:32:30 2014	(r361013)
@@ -1,4 +1,6 @@
 bin/ploticus
+man/man1/ploticus.1.gz
+man/man3/libploticus.3.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Diag.out
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README



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