aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-12-20 17:02:18 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-12-20 17:02:18 +0800
commitb06ccafce1ee4e4c3e15c5ce4c2b9606d24d46c3 (patch)
tree24337e76c46111c34698c1186739a2a3be8c67eb /palm
parent5e19f517bb69e7b9d5a6bd9a5363b8faf76fa4b4 (diff)
downloadfreebsd-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/Makefile12
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>