Date: Mon, 27 Jan 2014 23:45:37 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341482 - head/devel/cvsgraph Message-ID: <201401272345.s0RNjbTe067677@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Jan 27 23:45:36 2014 New Revision: 341482 URL: http://svnweb.freebsd.org/changeset/ports/341482 QAT: https://qat.redports.org/buildarchive/r341482/ Log: Support stage Add docs and examples options Use pkg-plist Added: head/devel/cvsgraph/pkg-plist (contents, props changed) Modified: head/devel/cvsgraph/Makefile Modified: head/devel/cvsgraph/Makefile ============================================================================== --- head/devel/cvsgraph/Makefile Mon Jan 27 23:45:10 2014 (r341481) +++ head/devel/cvsgraph/Makefile Mon Jan 27 23:45:36 2014 (r341482) @@ -3,26 +3,24 @@ PORTNAME= cvsgraph PORTVERSION= 1.7.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel graphics MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/ MAINTAINER= ports@FreeBSD.org COMMENT= Graph the life story of a file under CVS or RCS -LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd +OPTIONS_DEFINE= DOCS EXAMPLES -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd -MAN1= cvsgraph.1 -MAN5= cvsgraph.conf.5 +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} DOCDIR= share/doc/${PORTNAME} DOCS= ChangeLog README EXAMPLES= cvsgraphwrapper.php mkimage.php MORE_EXAMPLES= README.Automatic_documentation checkoutlist commit_action.sh \ commitinfo cvswrappers tag_action.sh taginfo -PLIST= ${WRKDIR}/pkg-plist SUB_FILES= pkg-message GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \ @@ -30,50 +28,24 @@ CONFIGURE_ARGS= --with-gd-inc=${LOCALBAS LDFLAGS="-L${PREFIX}/lib" REINPLACE_ARGS= -i "" -NO_STAGE= yes pre-patch: @${REINPLACE_CMD} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" ${WRKSRC}/cvsgraph.conf -pre-install: - ${ECHO_CMD} bin/cvsgraph > ${PLIST} - ${ECHO_CMD} etc/cvsgraph.conf.sample >> ${PLIST} -.if !defined(NOPORTDOCS) -.for i in ${DOCS} - ${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST} -.endfor -.for i in ${MORE_EXAMPLES} - ${ECHO_CMD} share/examples/${PORTNAME}/automatic_documentation/${i} >> ${PLIST} -.endfor -.for i in ${EXAMPLES} - ${ECHO_CMD} share/examples/${PORTNAME}/${i} >> ${PLIST} -.endfor - ${ECHO_CMD} @dirrm share/examples/${PORTNAME}/automatic_documentation >> ${PLIST} - ${ECHO_CMD} @dirrm share/examples/${PORTNAME} >> ${PLIST} - ${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST} -.endif - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${PREFIX}/etc/cvsgraph.conf.sample - ${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5 -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/${DOCDIR} - ${MKDIR} ${PREFIX}/share/examples/${PORTNAME} - ${MKDIR} ${PREFIX}/share/examples/${PORTNAME}/automatic_documentation + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${STAGEDIR}${PREFIX}/etc/cvsgraph.conf.sample + ${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation .for i in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .for i in ${EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${PREFIX}/share/examples/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${EXAMPLESDIR} .endfor .for i in ${MORE_EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} ${PREFIX}/share/examples/${PORTNAME}/automatic_documentation + ${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation .endfor -.endif - -post-install: - @${ECHO_CMD} " " - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> Added: head/devel/cvsgraph/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/cvsgraph/pkg-plist Mon Jan 27 23:45:36 2014 (r341482) @@ -0,0 +1,18 @@ +bin/cvsgraph +etc/cvsgraph.conf.sample +man/man1/cvsgraph.1.gz +man/man5/cvsgraph.conf.5.gz +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/automatic_documentation/README.Automatic_documentation +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/automatic_documentation/checkoutlist +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/automatic_documentation/commit_action.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/automatic_documentation/commitinfo +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/automatic_documentation/cvswrappers +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/automatic_documentation/tag_action.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/automatic_documentation/taginfo +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cvsgraphwrapper.php +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mkimage.php +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/automatic_documentation +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401272345.s0RNjbTe067677>