aboutsummaryrefslogtreecommitdiff
path: root/palm/ppmtoTbmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'palm/ppmtoTbmp/Makefile')
-rw-r--r--palm/ppmtoTbmp/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile
index a5066a5f36c9..cfe4a2ae179f 100644
--- a/palm/ppmtoTbmp/Makefile
+++ b/palm/ppmtoTbmp/Makefile
@@ -10,23 +10,22 @@ MASTER_SITES= http://www.isaac.cs.berkeley.edu/pilot/
MAINTAINER= ports@FreeBSD.org
COMMENT= PPM to Pilot bitmap converter
-LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
+LIB_DEPENDS= libnetpbm.so:${PORTSDIR}/graphics/netpbm
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDLIBS=-lnetpbm
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^#include "ppmcmap.h"/d' ${WRKSRC}/ppmtoTbmp.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ppmtoTbmp ${WRKSRC}/Tbmptopnm \
- ${PREFIX}/bin
+ ${STAGEDIR}${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ppmtoTbmp
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ppmtoTbmp
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
- ${MKDIR} ${PREFIX}/share/ppmtoTbmp
- ${INSTALL_DATA} ${WRKSRC}/q?.map ${PREFIX}/share/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/q?.map ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>