37 lines
836 B
Makefile
37 lines
836 B
Makefile
# $OpenBSD: Makefile,v 1.11 2010/11/20 09:48:39 espie Exp $
|
|
|
|
COMMENT= desktop publishing clip-art
|
|
|
|
V= 2.0
|
|
DISTNAME= openclipart-$V-full
|
|
PKGNAME= ${DISTNAME:S/-full//}
|
|
CATEGORIES= print graphics
|
|
|
|
HOMEPAGE= http://openclipart.org/
|
|
|
|
# Public domain
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/downloads/$V/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
BUILD_DEPENDS= archivers/bzip2
|
|
|
|
EXTRACT_ONLY=
|
|
PKG_ARCH= *
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/openclipart/
|
|
tar -xjf ${FULLDISTDIR}/${DISTFILES} \
|
|
-C ${PREFIX}/share -s ',^openclipart-$V-full,openclipart,'
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/openclipart/
|
|
find ${PREFIX}/share/openclipart -type f -print0 | \
|
|
xargs -0 chmod a-x
|
|
|
|
.include <bsd.port.mk>
|