1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

- Fix MASTER_SITES

- Fix LIB_DEPENDS
- Add support for NOPORTDOCS
- Fix typo

PR:		ports/105379
Submitted by:	Peter Ankerstal <peter@pean.org> (maintainer)
Approved by:	erwin (mentor)
This commit is contained in:
Gabor Kovesdan 2006-12-12 20:24:58 +00:00
parent 17b586f38a
commit 23d5450382
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179596
3 changed files with 18 additions and 7 deletions

View File

@ -1,23 +1,24 @@
# New ports collection makefile for: npretty
# Date created: 11 October 2006
# Whom: uchman
# Whom: Peter Ankerstal <peter@pean.org>
#
# $FreeBSD$
#
PORTNAME= npretty
PORTVERSION= 0.9.3
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://bbb.pean.org/junk/npretty/
MASTER_SITES= http://www.pulia.nu/code/projects/npretty/
MAINTAINER= peter@pean.org
COMMENT= A simple web-gallery ganerator written in perl
COMMENT= A simple web-gallery generator written in perl
RUN_DEPENDS= ${SITE_PERL}/Image/ExifTool.pm:${PORTSDIR}/graphics/p5-Image-ExifTool \
${SITE_PERL}/mach/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick \
${SITE_PERL}/mach/forks.pm:${PORTSDIR}/devel/p5-forks
LIB_DEPENDS+= Magick.10:${PORTSDIR}/graphics/ImageMagick
LIB_DEPENDS+= Magick.*:${PORTSDIR}/graphics/ImageMagick
NO_BUILD= yes
USE_PERL5_RUN= yes
@ -31,5 +32,11 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/novideo.gif ${PREFIX}/etc/npretty
${INSTALL_DATA} ${WRKSRC}/npretty_template.tpl ${PREFIX}/etc/npretty
${INSTALL_DATA} ${WRKSRC}/npretty.conf ${PREFIX}/etc/npretty
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in BUGS COPYING README
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (npretty-0.9.3.tar.gz) = 8eb7233666167984a0b8bb3790ab5db9
SHA256 (npretty-0.9.3.tar.gz) = add3cd00a5dc751c839c33faa1236e30af0c9eb07b45348adb02850541d2e8ee
SIZE (npretty-0.9.3.tar.gz) = 33164
MD5 (npretty-0.9.3.tar.gz) = 0269463e507c38b7e51f07d8a1f191a1
SHA256 (npretty-0.9.3.tar.gz) = a063c31e7f2970f06de5425164fe4fa02637049f1b1f3833c686a76f6cad6616
SIZE (npretty-0.9.3.tar.gz) = 41014

View File

@ -2,4 +2,8 @@ bin/npretty.pl
etc/npretty/npretty.conf
etc/npretty/novideo.gif
etc/npretty/npretty_template.tpl
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/README
@dirrm etc/npretty
%%PORTDOCS%%@dirrm %%DOCSDIR%%