svn commit: r356994 - head/graphics/renrot
Alexey Dokuchaev
danfe at FreeBSD.org
Sun Jun 8 09:07:35 UTC 2014
Author: danfe
Date: Sun Jun 8 09:07:34 2014
New Revision: 356994
URL: http://svnweb.freebsd.org/changeset/ports/356994
QAT: https://qat.redports.org/buildarchive/r356994/
Log:
Stagify, employ OPTIONS helpers and @sample keyword in pkg-plist.
Modified:
head/graphics/renrot/Makefile
head/graphics/renrot/pkg-plist
Modified: head/graphics/renrot/Makefile
==============================================================================
--- head/graphics/renrot/Makefile Sun Jun 8 09:03:01 2014 (r356993)
+++ head/graphics/renrot/Makefile Sun Jun 8 09:07:34 2014 (r356994)
@@ -17,27 +17,20 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} jpegtran:
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>
Modified: head/graphics/renrot/pkg-plist
==============================================================================
--- head/graphics/renrot/pkg-plist Sun Jun 8 09:03:01 2014 (r356993)
+++ head/graphics/renrot/pkg-plist Sun Jun 8 09:07:34 2014 (r356994)
@@ -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
+ at sample etc/renrot/colors.conf.sample
+ at sample etc/renrot/copyright.tag.sample
+ at sample etc/renrot/renrot.conf.sample
+ at 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
More information about the svn-ports-all
mailing list