diff options
author | augustss <augustss> | 2005-04-28 15:11:59 +0000 |
---|---|---|
committer | augustss <augustss> | 2005-04-28 15:11:59 +0000 |
commit | f40cd0763a6b5413313256dc20474d5e830f7fef (patch) | |
tree | 6b7bfcdc5c0929722df10d4fc6b8bf7d12f4bd8b /www/album_themes | |
parent | 75d500c30da5b4896e0fde98312d8f33ef1d5f42 (diff) | |
download | pkgsrc-f40cd0763a6b5413313256dc20474d5e830f7fef.tar.gz |
Add album, a web photo album generator.
Diffstat (limited to 'www/album_themes')
-rw-r--r-- | www/album_themes/DESCR | 1 | ||||
-rw-r--r-- | www/album_themes/MESSAGE | 8 | ||||
-rw-r--r-- | www/album_themes/Makefile | 41 | ||||
-rw-r--r-- | www/album_themes/distinfo | 5 |
4 files changed, 55 insertions, 0 deletions
diff --git a/www/album_themes/DESCR b/www/album_themes/DESCR new file mode 100644 index 00000000000..358e1784443 --- /dev/null +++ b/www/album_themes/DESCR @@ -0,0 +1 @@ +Various themes for the web album generator `album'. diff --git a/www/album_themes/MESSAGE b/www/album_themes/MESSAGE new file mode 100644 index 00000000000..c34b096aa2b --- /dev/null +++ b/www/album_themes/MESSAGE @@ -0,0 +1,8 @@ +$NetBSD: MESSAGE,v 1.1 2005/04/28 15:12:00 augustss Exp $ + +The album themes are installed in + ${PREFIX}/${A_DATADIR} +To make them accessible from your web server you can do something like + ln -s ${PREFIX}/${A_DATADIR} ${PREFIX}/${A_HTTPDIR} +or + cp -r ${PREFIX}/${A_DATADIR} ${PREFIX}/${A_HTTPDIR} diff --git a/www/album_themes/Makefile b/www/album_themes/Makefile new file mode 100644 index 00000000000..6b9ef79a91e --- /dev/null +++ b/www/album_themes/Makefile @@ -0,0 +1,41 @@ +# $NetBSD $ +# + +DISTNAME= album_themes +CATEGORIES= www +MASTER_SITES= http://marginalhacks.com/bin/ + +MAINTAINER= augustss@NetBSD.org +HOMEPAGE= http://marginalhacks.com/Hacks/album/Download.html +COMMENT= Themes for the album generator + +DEPENDS+= album-*:../../www/album + +NO_CONFIGURE= # defined +NO_BUILD= # defined +EXTRACT_ONLY= # defined + +A_DATADIR= share/Album +A_HTTPDIR= share/httpd/htdocs/Album + +PLIST_SRC= ${WRKDIR}/PLIST + +MESSAGE_SUBST= A_DATADIR=${A_DATADIR} A_HTTPDIR=${A_HTTPDIR} + +# dynamic PLIST generation +pre-install: + @${RM} -f ${PLIST_SRC} + @${TAR} -tvzf ${DISTDIR}/${DISTFILES} | \ + ${SED} -n -e 's,^-.* ,${A_DATADIR}/,p' >> ${PLIST_SRC} + @${TAR} -tvzf ${DISTDIR}/${DISTFILES} | \ + ${SED} -n -e 's,^d.* ,@dirrm ${A_DATADIR}/,p' | ${SORT} -r >> ${PLIST_SRC} + @${ECHO} "@dirrm ${A_DATADIR}/Themes" >> ${PLIST_SRC} + @${ECHO} "@dirrm ${A_DATADIR}" >> ${PLIST_SRC} + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/${A_DATADIR} + cd ${PREFIX}/${A_DATADIR}; \ + ${TAR} -xzf ${DISTDIR}/${DISTFILES} + +.include "../../www/apache/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/album_themes/distinfo b/www/album_themes/distinfo new file mode 100644 index 00000000000..dcd20544d0e --- /dev/null +++ b/www/album_themes/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2005/04/28 15:12:00 augustss Exp $ + +SHA1 (album_themes.tar.gz) = 70f5788ffb09038530eeb8040155da2748599e9c +RMD160 (album_themes.tar.gz) = a58ea8eabb28834a7196f1e106451398f3dad909 +Size (album_themes.tar.gz) = 804873 bytes |