diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile index 841e4f9df968..a3bd39c98dd9 100644 --- a/palm/ppmtoTbmp/Makefile +++ b/palm/ppmtoTbmp/Makefile @@ -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 +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 diff --git a/palm/ppmtoTbmp/pkg-descr b/palm/ppmtoTbmp/pkg-descr index 63ae4dc8b1cd..f2087f2de31f 100644 --- a/palm/ppmtoTbmp/pkg-descr +++ b/palm/ppmtoTbmp/pkg-descr @@ -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/ diff --git a/palm/ppmtoTbmp/pkg-plist b/palm/ppmtoTbmp/pkg-plist index f37c3c8bc65c..8ac89c8d27b0 100644 --- a/palm/ppmtoTbmp/pkg-plist +++ b/palm/ppmtoTbmp/pkg-plist @@ -3,5 +3,3 @@ bin/Tbmptopnm %%DATADIR%%/q2.map %%DATADIR%%/q4.map @dirrm %%DATADIR%% -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%%