Date: Thu, 6 Feb 2014 23:20:04 +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: r343175 - head/devel/svn_load_dirs Message-ID: <201402062320.s16NK4qj081951@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Feb 6 23:20:03 2014 New Revision: 343175 URL: http://svnweb.freebsd.org/changeset/ports/343175 QAT: https://qat.redports.org/buildarchive/r343175/ Log: Support stage General cleanup Modified: head/devel/svn_load_dirs/Makefile Modified: head/devel/svn_load_dirs/Makefile ============================================================================== --- head/devel/svn_load_dirs/Makefile Thu Feb 6 23:17:43 2014 (r343174) +++ head/devel/svn_load_dirs/Makefile Thu Feb 6 23:20:03 2014 (r343175) @@ -12,7 +12,9 @@ DISTFILES= LICENSE_AFL3.txt \ DIST_SUBDIR= subversion/${PORTNAME}-${PORTVERSION} MAINTAINER= knu@FreeBSD.org -COMMENT= A Perl script to load directories into a Subversion repository +COMMENT= Perl script to load directories into a Subversion repository + +OPTIONS_DEFINE= DOCS EXAMPLES RUN_DEPENDS= p5-URI>=0:${PORTSDIR}/net/p5-URI \ ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion @@ -21,15 +23,8 @@ USES= perl5 PLIST_FILES= bin/svn_load_dirs -NO_STAGE= yes -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MEXAMPLES} PORTEXAMPLES= * -.endif -.if ${PORT_OPTIONS:MDOCS} PORTDOCS= * -.endif do-extract: ${MKDIR} ${WRKSRC} @@ -44,16 +39,12 @@ do-build: ${WRKSRC}/svn_load_dirs.pl.in > ${WRKSRC}/svn_load_dirs.pl do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/svn_load_dirs.pl ${PREFIX}/bin/svn_load_dirs -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/svn_load_dirs_property_table.example ${EXAMPLESDIR}/ -.endif -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/svn_load_dirs.pl ${STAGEDIR}${PREFIX}/bin/svn_load_dirs + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/svn_load_dirs_property_table.example ${STAGEDIR}${EXAMPLESDIR}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} for f in LICENSE_AFL3.txt svn_load_dirs.README; do \ - ${INSTALL_DATA} ${WRKSRC}/"$$f" ${DOCSDIR}/; \ + ${INSTALL_DATA} ${WRKSRC}/"$$f" ${STAGEDIR}${DOCSDIR}/; \ done -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402062320.s16NK4qj081951>