summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-06-11 11:29:05 +0000
committerMark Pulford <markp@FreeBSD.org>2001-06-11 11:29:05 +0000
commitc076d60c510451a2ef75e7a82f4d6d6724286890 (patch)
treed9ca60d0fb37793a1fbd39f94c9c2b6040af59d7
parentStrip binaries. (diff)
Add ppmtoTbmp 1.1, PPM to Pilot bitmap converter.
Committed after cleanup. PR: 27932 Submitted by: Jose Marques <noway@nohow.demon.co.uk>
Notes
Notes: svn path=/head/; revision=43837
-rw-r--r--palm/Makefile1
-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
6 files changed, 45 insertions, 0 deletions
diff --git a/palm/Makefile b/palm/Makefile
index 02ec44c890d9..f3f715902ce1 100644
--- a/palm/Makefile
+++ b/palm/Makefile
@@ -20,6 +20,7 @@
SUBDIR += pilot_makedoc
SUBDIR += pilrc
SUBDIR += pose
+ SUBDIR += ppmtoTbmp
SUBDIR += prc-tools
SUBDIR += prc-tools-binutils
SUBDIR += prc-tools-gcc
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