- Add LICENSE

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-12-20 09:02:18 +00:00
parent 3105eaf6a6
commit 430974750f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428981

View file

@ -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>