diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-20 17:02:18 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-20 17:02:18 +0800 |
commit | b06ccafce1ee4e4c3e15c5ce4c2b9606d24d46c3 (patch) | |
tree | 24337e76c46111c34698c1186739a2a3be8c67eb /palm | |
parent | 5e19f517bb69e7b9d5a6bd9a5363b8faf76fa4b4 (diff) | |
download | freebsd-ports-gnome-b06ccafce1ee4e4c3e15c5ce4c2b9606d24d46c3.tar.gz freebsd-ports-gnome-b06ccafce1ee4e4c3e15c5ce4c2b9606d24d46c3.tar.zst freebsd-ports-gnome-b06ccafce1ee4e4c3e15c5ce4c2b9606d24d46c3.zip |
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'palm')
-rw-r--r-- | palm/ppmtoTbmp/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile index cd2e87589104..fc379f42fd96 100644 --- a/palm/ppmtoTbmp/Makefile +++ b/palm/ppmtoTbmp/Makefile @@ -10,22 +10,28 @@ MASTER_SITES= http://www.isaac.cs.berkeley.edu/pilot/ MAINTAINER= ports@FreeBSD.org COMMENT= PPM to Pilot bitmap converter +LICENSE= NONE + LIB_DEPENDS= libnetpbm.so:graphics/netpbm -LDFLAGS+= -L${LOCALBASE}/lib MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDLIBS=-lnetpbm +LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= README +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e '/^#include "ppmcmap\.h"/d' ${WRKSRC}/ppmtoTbmp.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ppmtoTbmp ${WRKSRC}/Tbmptopnm \ ${STAGEDIR}${PREFIX}/bin - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/q?.map ${STAGEDIR}${DATADIR} +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + .include <bsd.port.mk> |