diff options
author | ahze <ahze@FreeBSD.org> | 2005-07-17 10:07:48 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-07-17 10:07:48 +0800 |
commit | 4596d9dc61e5508939702ccbb4e66695326cd7df (patch) | |
tree | a017ef8a57f1d49c6a901daecf9551aef4f3f9dd /graphics/openclipart | |
parent | c861f72e995dbdf0580884cfe9f8824fac52a485 (diff) | |
download | freebsd-ports-gnome-4596d9dc61e5508939702ccbb4e66695326cd7df.tar.gz freebsd-ports-gnome-4596d9dc61e5508939702ccbb4e66695326cd7df.tar.zst freebsd-ports-gnome-4596d9dc61e5508939702ccbb4e66695326cd7df.zip |
- 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.
Diffstat (limited to 'graphics/openclipart')
-rw-r--r-- | graphics/openclipart/Makefile | 50 | ||||
-rw-r--r-- | graphics/openclipart/distinfo | 4 | ||||
-rw-r--r-- | graphics/openclipart/pkg-descr | 4 |
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/ |