- Remove LICENSE_FILE for well-known licenses

- Fix LIB_DEPENDS and remove unnecessary dependencies (USE_XORG) [1]
- Bump PORTREVISION for dependency change
- Cosmetic change

Discussed with:	pawel [1]
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-03-15 17:52:36 +00:00
parent ce0b1db8ee
commit b6d558d5af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314320

View File

@ -3,7 +3,7 @@
PORTNAME= metapixel
PORTVERSION= 1.0.2
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= http://www.complang.tuwien.ac.at/schani/metapixel/files/ \
http://mirror.roe.ch/dist/metapixel/
@ -11,27 +11,27 @@ MASTER_SITES= http://www.complang.tuwien.ac.at/schani/metapixel/files/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Photomosaic generator
LICENSE= GPLv2 # (or later)
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE= GPLv2
LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
gif:${PORTSDIR}/graphics/giflib \
LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \
jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
xcb:${PORTSDIR}/x11/libxcb
png15:${PORTSDIR}/graphics/png
USE_GMAKE= yes
USE_XORG= ice sm x11 xau xdmcp
MAKE_JOBS_SAFE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
CPPFLAGS+= $$(libpng-config --I_opts) -I${LOCALBASE}/include -I.
LDFLAGS+= $$(libpng-config --L_opts) -L${LOCALBASE}/lib
MAKE_JOBS_SAFE= yes
USE_GMAKE= yes
MAN1= metapixel.1
PORTDOCS= README NEWS
PLIST_FILES= bin/metapixel \
bin/metapixel-convert \
bin/metapixel-imagesize \
bin/metapixel-prepare \
bin/metapixel-sizesort
PORTDOCS= NEWS README
PORTEXAMPLES= metapixelrc
PLIST_FILES= bin/metapixel bin/metapixel-convert bin/metapixel-imagesize \
bin/metapixel-prepare bin/metapixel-sizesort
.include <bsd.port.options.mk>
@ -39,19 +39,17 @@ post-patch:
@${RM} ${WRKSRC}/getopt.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/metapixel ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/metapixel-convert ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/metapixel-imagesize ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/metapixel-prepare ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/metapixel-sizesort ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/metapixel.1 ${MANPREFIX}/man/man1
cd ${WRKSRC}/ && \
${INSTALL_PROGRAM} metapixel metapixel-convert metapixel-imagesize ${PREFIX}/bin/ && \
${INSTALL_SCRIPT} metapixel-prepare metapixel-sizesort ${PREFIX}/bin/ && \
${INSTALL_MAN} metapixel.1 ${PREFIX}/man/man1/
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
${MKDIR} ${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
${MKDIR} ${EXAMPLESDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>