aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-03-16 01:52:36 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-03-16 01:52:36 +0800
commitea4c08506b21154619767b2cec2972e978e02497 (patch)
tree813ddef0e63e3424d5ba2d0d3746d50e546ea8a7
parent606403b5e44eaaab4479427457f0864aef27f022 (diff)
downloadfreebsd-ports-gnome-ea4c08506b21154619767b2cec2972e978e02497.tar.gz
freebsd-ports-gnome-ea4c08506b21154619767b2cec2972e978e02497.tar.zst
freebsd-ports-gnome-ea4c08506b21154619767b2cec2972e978e02497.zip
- 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]
-rw-r--r--graphics/metapixel/Makefile44
1 files changed, 21 insertions, 23 deletions
diff --git a/graphics/metapixel/Makefile b/graphics/metapixel/Makefile
index 2e3e5438e0cc..18a62a278599 100644
--- a/graphics/metapixel/Makefile
+++ b/graphics/metapixel/Makefile
@@ -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>