svn commit: r340563 - head/textproc/grap

Mathieu Arnold mat at FreeBSD.org
Tue Jan 21 07:35:16 UTC 2014


Author: mat
Date: Tue Jan 21 07:35:15 2014
New Revision: 340563
URL: http://svnweb.freebsd.org/changeset/ports/340563
QAT: https://qat.redports.org/buildarchive/r340563/

Log:
  Convert to staging.
  
  Sponsored by:	Absolight

Modified:
  head/textproc/grap/Makefile
  head/textproc/grap/pkg-plist

Modified: head/textproc/grap/Makefile
==============================================================================
--- head/textproc/grap/Makefile	Tue Jan 21 07:28:52 2014	(r340562)
+++ head/textproc/grap/Makefile	Tue Jan 21 07:35:15 2014	(r340563)
@@ -12,32 +12,27 @@ COMMENT=	An implementation of Kernigan &
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=--with-freebsd-ports
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 .if defined(.PARSEDIR)
 USE_GMAKE=	yes
 .endif
 
 CONFLICTS_INSTALL=heirloom-doctools-[0-9]*
 
-MAN1=		grap.1
 PORTDOCS=	README CHANGES COPYRIGHT grap.man
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+PORTEXAMPLES=	*
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.doc \
-		${MAN1PREFIX}/man/man1/${PORTNAME}.1
-	${MKDIR} ${DATADIR}
+		${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/grap.defines ${WRKSRC}/grap.tex.defines \
-		${DATADIR}
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-.  for d in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/$d ${DOCSDIR}
-.  endfor
-.endif
-	${MKDIR} ${EXAMPLESDIR}
-	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+		${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>

Modified: head/textproc/grap/pkg-plist
==============================================================================
--- head/textproc/grap/pkg-plist	Tue Jan 21 07:28:52 2014	(r340562)
+++ head/textproc/grap/pkg-plist	Tue Jan 21 07:35:15 2014	(r340563)
@@ -1,22 +1,5 @@
 bin/grap
+man/man1/grap.1.gz
 %%DATADIR%%/grap.defines
 %%DATADIR%%/grap.tex.defines
-%%EXAMPLESDIR%%/400mpairs.d
-%%EXAMPLESDIR%%/400mtimes.d
-%%EXAMPLESDIR%%/400wpairs.d
-%%EXAMPLESDIR%%/Makefile
-%%EXAMPLESDIR%%/army.d
-%%EXAMPLESDIR%%/boyhts.d
-%%EXAMPLESDIR%%/example.ms
-%%EXAMPLESDIR%%/internet.d
-%%EXAMPLESDIR%%/prof2.d
-%%EXAMPLESDIR%%/states.d
-%%EXAMPLESDIR%%/states2.d
-%%EXAMPLESDIR%%/states3.d
-%%EXAMPLESDIR%%/usapop.d
-%%EXAMPLESDIR%%/cy_fatal.d
-%%EXAMPLESDIR%%/result.SQ_MESH.Fail1.S3.R0.Global.Random1500.succ.result
-%%EXAMPLESDIR%%/result.SQ_MESH.Fail1.S3.R0.Local.Random1500.succ.result
-%%EXAMPLESDIR%%/result.SQ_MESH.Fail1.S3.R0.Hybrid.Random1500.succ.result
- at dirrm %%EXAMPLESDIR%%
 @dirrm %%DATADIR%%


More information about the svn-ports-all mailing list