aboutsummaryrefslogtreecommitdiffstats
path: root/palm/ppmtoTbmp
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2001-06-11 19:29:05 +0800
committermarkp <markp@FreeBSD.org>2001-06-11 19:29:05 +0800
commite0950c394eb6a515ea3433eaf0fa61ddf98c2e52 (patch)
treef6f8acae86783c554f218ba8c4abb38ae512e57e /palm/ppmtoTbmp
parent80bccdf2ec4a716676ae41aa73baaf47ac759606 (diff)
downloadfreebsd-ports-gnome-e0950c394eb6a515ea3433eaf0fa61ddf98c2e52.tar.gz
freebsd-ports-gnome-e0950c394eb6a515ea3433eaf0fa61ddf98c2e52.tar.zst
freebsd-ports-gnome-e0950c394eb6a515ea3433eaf0fa61ddf98c2e52.zip
Add ppmtoTbmp 1.1, PPM to Pilot bitmap converter.
Committed after cleanup. PR: 27932 Submitted by: Jose Marques <noway@nohow.demon.co.uk>
Diffstat (limited to 'palm/ppmtoTbmp')
-rw-r--r--palm/ppmtoTbmp/Makefile31
-rw-r--r--palm/ppmtoTbmp/distinfo1
-rw-r--r--palm/ppmtoTbmp/pkg-comment1
-rw-r--r--palm/ppmtoTbmp/pkg-descr4
-rw-r--r--palm/ppmtoTbmp/pkg-plist7
5 files changed, 44 insertions, 0 deletions
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile
new file mode 100644
index 000000000000..3b301ccff128
--- /dev/null
+++ b/palm/ppmtoTbmp/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: ppmtoTbmp
+# Date created: 30th May 2001
+# Whom: Jose Marques <noway@nohow.demon.co.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ppmtoTbmp
+PORTVERSION= 1.1
+CATEGORIES= palm graphics
+MASTER_SITES= http://www.isaac.cs.berkeley.edu/pilot/
+
+MAINTAINER= noway@nohow.demon.co.uk
+
+LIB_DEPENDS= pbm.1:${PORTSDIR}/graphics/netpbm
+
+post-patch:
+ ${PERL} -pi -e "s|^CFLAGS.+|CFLAGS += -I${LOCALBASE}/include|g; \
+ s|^LDLIBS =|LDLIBS = -L${LOCALBASE}/lib|g" ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ppmtoTbmp ${WRKSRC}/Tbmptopnm \
+ ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ppmtoTbmp
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ppmtoTbmp
+.endif
+ ${MKDIR} ${PREFIX}/share/ppmtoTbmp
+ ${INSTALL_DATA} ${WRKSRC}/q?.map ${PREFIX}/share/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/palm/ppmtoTbmp/distinfo b/palm/ppmtoTbmp/distinfo
new file mode 100644
index 000000000000..809b94ca55b6
--- /dev/null
+++ b/palm/ppmtoTbmp/distinfo
@@ -0,0 +1 @@
+MD5 (ppmtoTbmp-1.1.tar.gz) = b4e92f9b6c49e87240191342120a7f60
diff --git a/palm/ppmtoTbmp/pkg-comment b/palm/ppmtoTbmp/pkg-comment
new file mode 100644
index 000000000000..499af61e1ae7
--- /dev/null
+++ b/palm/ppmtoTbmp/pkg-comment
@@ -0,0 +1 @@
+PPM to Pilot bitmap converter
diff --git a/palm/ppmtoTbmp/pkg-descr b/palm/ppmtoTbmp/pkg-descr
new file mode 100644
index 000000000000..63ae4dc8b1cd
--- /dev/null
+++ b/palm/ppmtoTbmp/pkg-descr
@@ -0,0 +1,4 @@
+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
new file mode 100644
index 000000000000..f043befcedf1
--- /dev/null
+++ b/palm/ppmtoTbmp/pkg-plist
@@ -0,0 +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