41 lines
910 B
Makefile
41 lines
910 B
Makefile
# $NetBSD: Makefile,v 1.14 2012/10/28 06:30:01 asau Exp $
|
|
#
|
|
|
|
DISTNAME= album_themes
|
|
PKGNAME= album_themes-20050507
|
|
PKGREVISION= 2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://marginalhacks.com/bin/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://marginalhacks.com/Hacks/album/Download.html
|
|
COMMENT= Themes for the album generator
|
|
|
|
DEPENDS+= album-[0-9]*:../../www/album
|
|
|
|
NO_CONFIGURE= YES
|
|
NO_BUILD= YES
|
|
EXTRACT_ONLY= # none
|
|
|
|
USE_TOOLS+= tar
|
|
|
|
A_DATADIR= share/Album
|
|
A_HTTPDIR= share/httpd/htdocs/Album
|
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
MESSAGE_SUBST= A_DATADIR=${A_DATADIR} A_HTTPDIR=${A_HTTPDIR}
|
|
|
|
INSTALLATION_DIRS= ${A_DATADIR}
|
|
|
|
# dynamic PLIST generation
|
|
pre-install:
|
|
@${RM} -f ${PLIST_SRC}
|
|
@${TAR} -tvzf ${DISTDIR}/${DISTFILES} | \
|
|
${SED} -n -e 's,^-.* ,${A_DATADIR}/,p' >> ${PLIST_SRC}
|
|
|
|
do-install:
|
|
cd ${DESTDIR}${PREFIX}/${A_DATADIR}; \
|
|
${TAR} -xzf ${DISTDIR}/${DISTFILES}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|