svn commit: r312411 - head/graphics/renrot

Alex Kozlov ak at FreeBSD.org
Sun Feb 17 11:27:08 UTC 2013


Author: ak
Date: Sun Feb 17 11:27:07 2013
New Revision: 312411
URL: http://svnweb.freebsd.org/changeset/ports/312411

Log:
  - Remove SITE_PERL from RUN_DEPENDS; don't rely on ImageMagick package name, it can be changed via PKGNAMESUFFIX
  - Use ETCDIR
  
  PR:	ports/175785
  Approved by:	maintainer timeout (2 weeks)

Modified:
  head/graphics/renrot/Makefile   (contents, props changed)

Modified: head/graphics/renrot/Makefile
==============================================================================
--- head/graphics/renrot/Makefile	Sun Feb 17 10:43:22 2013	(r312410)
+++ head/graphics/renrot/Makefile	Sun Feb 17 11:27:07 2013	(r312411)
@@ -25,14 +25,13 @@ PORTDOCS=	AUTHORS README ChangeLog NEWS 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MIMAGEMAGICK}
-RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick
+RUN_DEPENDS+=	convert:${PORTSDIR}/graphics/ImageMagick
 .endif
 
 post-install:
-	@${MKDIR} ${PREFIX}/etc/${PORTNAME}
+	@${MKDIR} ${ETCDIR}
 .for conf in colors.conf copyright.tag renrot.conf tags.conf
-	${INSTALL_DATA} ${WRKSRC}/etc/${conf} \
-		${PREFIX}/etc/${PORTNAME}/${conf}.sample
+	${INSTALL_DATA} ${WRKSRC}/etc/${conf} ${ETCDIR}/${conf}.sample
 .endfor
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}


More information about the svn-ports-head mailing list