diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2013-03-21 19:08:10 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2013-03-21 19:08:10 +0000 |
commit | d018da29974e9edbb9d1d3b9c4cbe995c5db941d (patch) | |
tree | c804b254b3861ed99127a8675902652a064e74db /graphics/png2ico | |
parent | 4b458a9728d0c0dc805cd467d8b479ace233d880 (diff) |
Notes
Diffstat (limited to 'graphics/png2ico')
-rw-r--r-- | graphics/png2ico/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/graphics/png2ico/Makefile b/graphics/png2ico/Makefile index 82de48380856..1ba7cfce8808 100644 --- a/graphics/png2ico/Makefile +++ b/graphics/png2ico/Makefile @@ -11,6 +11,8 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION:S/./-/g} MAINTAINER= ports@FreeBSD.org COMMENT= Converts PNG files to Windows icon resource files +LICENSE= GPLv2 + LIB_DEPENDS= png15:${PORTSDIR}/graphics/png MAN1= png2ico.1 @@ -19,12 +21,15 @@ PORTDOCS= bmp.txt WRKSRC= ${WRKDIR}/${PORTNAME} +.include <bsd.port.options.mk> + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/png2ico.1 ${PREFIX}/man/man1/ -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/bmp.txt ${DOCSDIR}/ + ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1 + +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR} .endif .include <bsd.port.mk> |