summaryrefslogtreecommitdiff
path: root/graphics/openclipart
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-07-17 02:07:48 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-07-17 02:07:48 +0000
commit0637f3deec658f6f2b8dc5712d995a6f61b623a5 (patch)
tree51087498e36a0c91e65bfcd4d66fc772de9d011f /graphics/openclipart
parentThe grand-daddy site of VietNet gone :~-( R.I.P. media.mit.edu (diff)
- Add openclipart
Open Clip Are Library -- Archive of user contributed clip art that can be freely used. Note: includes knob WITHOUT_PNG which does not install all the png files & text png descr files and uses a much smaller distfile.
Notes
Notes: svn path=/head/; revision=139380
Diffstat (limited to 'graphics/openclipart')
-rw-r--r--graphics/openclipart/Makefile50
-rw-r--r--graphics/openclipart/distinfo4
-rw-r--r--graphics/openclipart/pkg-descr4
3 files changed, 58 insertions, 0 deletions
diff --git a/graphics/openclipart/Makefile b/graphics/openclipart/Makefile
new file mode 100644
index 000000000000..0bd9968ebb84
--- /dev/null
+++ b/graphics/openclipart/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: openclipart
+# Date created: 2005-07-16
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= openclipart
+PORTVERSION= 0.15
+CATEGORIES= graphics misc
+MASTER_SITES= http://www.openclipart.org/downloads/${PORTVERSION}/
+DISTNAME= ${PORTNAME}-${PORTVERSION}${SVGPNG}
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= Open Clip Art Library
+
+USE_BZIP2= yes
+PLIST= ${WRKDIR}/pkg-plist
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+NO_BUILD= yes
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_PNG)
+SVGPNG= # empty
+.else
+SVGPNG= -svgonly
+.endif
+
+pre-everything::
+.if !defined(WITHOUT_PNG)
+ @${ECHO_MSG} "Disable the install of png files by defining"
+ @${ECHO_MSG} "WITHOUT_PNG=yes"
+ @${ECHO_MSG} ""
+.endif
+
+pre-install:
+ ${RM} -f ${PLIST}
+ ${TOUCH} -f ${PLIST}
+ cd ${WRKSRC} && ${FIND} -s * -type f -o -type l | \
+ ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} \
+ && ${FIND} -d * -type d | \
+ ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST}
+ ${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST}
+
+do-install:
+ cd ${WRKSRC} && ${FIND} . | \
+ ${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${DATADIR}
+
+.include <bsd.port.post.mk>
diff --git a/graphics/openclipart/distinfo b/graphics/openclipart/distinfo
new file mode 100644
index 000000000000..ad8332622b3d
--- /dev/null
+++ b/graphics/openclipart/distinfo
@@ -0,0 +1,4 @@
+MD5 (openclipart-0.15.tar.bz2) = 813f22e41f883fe23dc42a075c4bb120
+SIZE (openclipart-0.15.tar.bz2) = 78831798
+MD5 (openclipart-0.15-svgonly.tar.bz2) = 0e9fbeec62960b8906e97c47d48d4943
+SIZE (openclipart-0.15-svgonly.tar.bz2) = 51079228
diff --git a/graphics/openclipart/pkg-descr b/graphics/openclipart/pkg-descr
new file mode 100644
index 000000000000..a063bc4d0a29
--- /dev/null
+++ b/graphics/openclipart/pkg-descr
@@ -0,0 +1,4 @@
+Open Clip Are Library -- Archive of user contributed clip art that can
+be freely used.
+
+WWW: http://www.openclipart.org/