mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Remove conditional on ${PORT_OPTIONS:MDOCS} and simplify the Makefile
- Offload documentation from pkg-plist into PORTDOCS variable, tighten sed(1) regexp, mute MKDIR's; fix spelling and EOL spaces in pkg-descr
This commit is contained in:
parent
d55d5c7e95
commit
fda46f9f9a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359348
@ -15,19 +15,17 @@ LIB_DEPENDS= libnetpbm.so:${PORTSDIR}/graphics/netpbm
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDLIBS=-lnetpbm
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^#include "ppmcmap.h"/d' ${WRKSRC}/ppmtoTbmp.c
|
||||
PORTDOCS= README
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^#include "ppmcmap\.h"/d' ${WRKSRC}/ppmtoTbmp.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ppmtoTbmp ${WRKSRC}/Tbmptopnm \
|
||||
${STAGEDIR}${PREFIX}/bin
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/q?.map ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
The ppmtoTbmp and Tbmptopnm programs convert between ppm and Pilot bitmap
|
||||
The ppmtoTbmp and Tbmptopnm programs convert between PPM and Pilot bitmap
|
||||
formats.
|
||||
|
||||
WWW: http://www.isaac.cs.berkeley.edu/pilot/
|
||||
|
@ -3,5 +3,3 @@ bin/Tbmptopnm
|
||||
%%DATADIR%%/q2.map
|
||||
%%DATADIR%%/q4.map
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user