aboutsummaryrefslogtreecommitdiff
path: root/graphics/metapixel
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-06 23:16:55 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-06 23:16:55 +0000
commit9a68ac1706ffee1002776dec844562b70bb6fe72 (patch)
treeed245391b645c89be5faf305975e37450486079f /graphics/metapixel
parentc518499b0cac87171e9026df9d1d9feb831a81ad (diff)
downloadports-9a68ac1706ffee1002776dec844562b70bb6fe72.tar.gz
ports-9a68ac1706ffee1002776dec844562b70bb6fe72.zip
Notes
Diffstat (limited to 'graphics/metapixel')
-rw-r--r--graphics/metapixel/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/graphics/metapixel/Makefile b/graphics/metapixel/Makefile
index 003aa851db5a..504c776fd8ed 100644
--- a/graphics/metapixel/Makefile
+++ b/graphics/metapixel/Makefile
@@ -11,16 +11,18 @@ MASTER_SITES= http://www.complang.tuwien.ac.at/schani/metapixel/files/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Photomosaic generator
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
libpng.so:${PORTSDIR}/graphics/png
-CPPFLAGS+= $$(libpng-config --I_opts) -I${LOCALBASE}/include -I.
-LDFLAGS+= $$(libpng-config --L_opts) -L${LOCALBASE}/lib
USES= gmake jpeg shebangfix
SHEBANG_FILES= metapixel-prepare metapixel-sizesort
+CPPFLAGS+= $$(libpng-config --I_opts) -I${LOCALBASE}/include -I.
+LDFLAGS+= $$(libpng-config --L_opts) -L${LOCALBASE}/lib
+
PLIST_FILES= bin/metapixel \
bin/metapixel-convert \
bin/metapixel-imagesize \
@@ -40,9 +42,13 @@ do-install:
metapixel-imagesize ${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC} && ${INSTALL_SCRIPT} metapixel-prepare \
metapixel-sizesort ${STAGEDIR}${PREFIX}/bin)
- ${INSTALL_MAN} ${WRKSRC}/metapixel.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/metapixel.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})