diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-07 07:16:55 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-07 07:16:55 +0800 |
commit | 2e094ab1e1c104c46a54d3aa14a8606935015193 (patch) | |
tree | ed245391b645c89be5faf305975e37450486079f /graphics | |
parent | bb2adef2681f5c5ff2cac8673a397bdf2d42ee93 (diff) | |
download | freebsd-ports-gnome-2e094ab1e1c104c46a54d3aa14a8606935015193.tar.gz freebsd-ports-gnome-2e094ab1e1c104c46a54d3aa14a8606935015193.tar.zst freebsd-ports-gnome-2e094ab1e1c104c46a54d3aa14a8606935015193.zip |
- Clarify LICENSE
- Add LICENSE_FILE
- Use MANPREFIX
- Switch to options helpers
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/metapixel/Makefile | 14 |
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}) |