aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-10 10:57:50 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-10 10:57:50 +0800
commit8421ebc66ac45dbec46a61ef0266d52e2ea32164 (patch)
treedd61653328b26b742fdf48cd3cf341dee8b1139d /palm
parentdcb466dfb104dae5a57da06ebb3b5a750c6ddc77 (diff)
downloadfreebsd-ports-gnome-8421ebc66ac45dbec46a61ef0266d52e2ea32164.tar.gz
freebsd-ports-gnome-8421ebc66ac45dbec46a61ef0266d52e2ea32164.tar.zst
freebsd-ports-gnome-8421ebc66ac45dbec46a61ef0266d52e2ea32164.zip
1: Stagify.
2: convert to new format of LIB_DEPENDS.
Diffstat (limited to 'palm')
-rw-r--r--palm/ppmtoTbmp/Makefile13
-rw-r--r--palm/ppmtoTbmp/pkg-plist10
2 files changed, 11 insertions, 12 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>
diff --git a/palm/ppmtoTbmp/pkg-plist b/palm/ppmtoTbmp/pkg-plist
index f043befcedf1..f37c3c8bc65c 100644
--- a/palm/ppmtoTbmp/pkg-plist
+++ b/palm/ppmtoTbmp/pkg-plist
@@ -1,7 +1,7 @@
bin/ppmtoTbmp
bin/Tbmptopnm
-share/ppmtoTbmp/q2.map
-share/ppmtoTbmp/q4.map
-@dirrm share/ppmtoTbmp
-%%PORTDOCS%%share/doc/ppmtoTbmp/README
-%%PORTDOCS%%@dirrm share/doc/ppmtoTbmp
+%%DATADIR%%/q2.map
+%%DATADIR%%/q4.map
+@dirrm %%DATADIR%%
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%