- Add LICENSE
- Switch to options helpers
This commit is contained in:
parent
3105eaf6a6
commit
430974750f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428981
1 changed files with 9 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue