diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-07-17 02:07:48 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-07-17 02:07:48 +0000 |
commit | 0637f3deec658f6f2b8dc5712d995a6f61b623a5 (patch) | |
tree | 51087498e36a0c91e65bfcd4d66fc772de9d011f /graphics | |
parent | 59f401363101e66c3cf2dcf55e7c1798503fb5f4 (diff) |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/openclipart/Makefile | 50 | ||||
-rw-r--r-- | graphics/openclipart/distinfo | 4 | ||||
-rw-r--r-- | graphics/openclipart/pkg-descr | 4 |
4 files changed, 59 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 9f87f1f4238c..e5e2cf802cb7 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -348,6 +348,7 @@ SUBDIR += ocaml-lablgl SUBDIR += ocrad SUBDIR += oglext + SUBDIR += openclipart SUBDIR += opendis SUBDIR += opendx SUBDIR += opendx-samples 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/ |