diff options
author | danfe <danfe@FreeBSD.org> | 2014-06-08 17:07:34 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2014-06-08 17:07:34 +0800 |
commit | b9f3524492360b56f12a2e982d8c4e758dea89a8 (patch) | |
tree | b99b9af1181267329662835330a97a91d4962e32 | |
parent | 58ec4343dde61d903489e7686f1a3102572244f6 (diff) | |
download | freebsd-ports-gnome-b9f3524492360b56f12a2e982d8c4e758dea89a8.tar.gz freebsd-ports-gnome-b9f3524492360b56f12a2e982d8c4e758dea89a8.tar.zst freebsd-ports-gnome-b9f3524492360b56f12a2e982d8c4e758dea89a8.zip |
Stagify, employ OPTIONS helpers and @sample keyword in pkg-plist.
-rw-r--r-- | graphics/renrot/Makefile | 23 | ||||
-rw-r--r-- | graphics/renrot/pkg-plist | 9 |
2 files changed, 13 insertions, 19 deletions
diff --git a/graphics/renrot/Makefile b/graphics/renrot/Makefile index b996cb21a076..8e02a0b37018 100644 --- a/graphics/renrot/Makefile +++ b/graphics/renrot/Makefile @@ -17,27 +17,20 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} jpegtran:${PORTSDIR}/graphics/jpeg USES= perl5 USE_PERL5= configure -OPTIONS_DEFINE= IMAGEMAGICK DOCS -IMAGEMAGICK_DESC= Image::Magick Perl module support - -MAN1= ${PORTNAME}.1 PORTDOCS= AUTHORS README README.russian ChangeLog NEWS TODO -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= IMAGEMAGICK DOCS +IMAGEMAGICK_DESC= Image::Magick Perl module support -.if ${PORT_OPTIONS:MIMAGEMAGICK} -RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick -.endif +IMAGEMAGICK_RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick post-install: - @${MKDIR} ${ETCDIR} + @${MKDIR} ${STAGEDIR}${ETCDIR} .for conf in colors.conf copyright.tag renrot.conf tags.conf - ${INSTALL_DATA} ${WRKSRC}/etc/${conf} ${ETCDIR}/${conf}.sample + ${INSTALL_DATA} ${WRKSRC}/etc/${conf} \ + ${STAGEDIR}${ETCDIR}/${conf}.sample .endfor -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/graphics/renrot/pkg-plist b/graphics/renrot/pkg-plist index 0a8e446449bc..effbc0978e6b 100644 --- a/graphics/renrot/pkg-plist +++ b/graphics/renrot/pkg-plist @@ -1,9 +1,10 @@ bin/renrot -etc/renrot/colors.conf.sample -etc/renrot/copyright.tag.sample -etc/renrot/renrot.conf.sample -etc/renrot/tags.conf.sample +@sample etc/renrot/colors.conf.sample +@sample etc/renrot/copyright.tag.sample +@sample etc/renrot/renrot.conf.sample +@sample etc/renrot/tags.conf.sample @dirrm etc/renrot +man/man1/renrot.1.gz %%SITE_PERL%%/%%PERL_ARCH%%/auto/renrot/.packlist @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/renrot %%SITE_PERL%%/Image/RenRot/Config.pm |