aboutsummaryrefslogtreecommitdiffstats
path: root/palm
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
parent80bccdf2ec4a716676ae41aa73baaf47ac759606 (diff)
downloadfreebsd-ports-graphics-e0950c394eb6a515ea3433eaf0fa61ddf98c2e52.tar.gz
freebsd-ports-graphics-e0950c394eb6a515ea3433eaf0fa61ddf98c2e52.tar.zst
freebsd-ports-graphics-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')
-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 02ec44c890d..f3f715902ce 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 00000000000..3b301ccff12
--- /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 00000000000..809b94ca55b
--- /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 00000000000..499af61e1ae
--- /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 00000000000..63ae4dc8b1c
--- /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 00000000000..f043befcedf
--- /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