1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- 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)
This commit is contained in:
Alex Kozlov 2013-02-17 11:27:07 +00:00
parent df999ac7da
commit 23c4280041
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312411

View File

@ -25,14 +25,13 @@ PORTDOCS= AUTHORS README ChangeLog NEWS TODO
.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}