summaryrefslogtreecommitdiff
path: root/www/album/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/album/Makefile')
-rw-r--r--www/album/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/album/Makefile b/www/album/Makefile
index d6e2b3d5467..ebcc1b1986d 100644
--- a/www/album/Makefile
+++ b/www/album/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/05/21 10:03:59 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:54 joerg Exp $
#
DISTNAME= album
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://marginalhacks.com/Hacks/album/
COMMENT= Generate HTML albums of images
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
DEPENDS+= jhead>=2.0:../../graphics/jhead
DEPENDS+= ffmpeg-[0-9]*:../../multimedia/ffmpeg
@@ -24,14 +26,12 @@ USE_TOOLS+= perl:run
REPLACE_PERL= ${MY_SCRIPT}
NO_BUILD= YES
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/album/Pics
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${MY_SCRIPT} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MY_SCRIPT}.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/album
- ${INSTALL_DATA} ${WRKSRC}/Docs/[Sa-z]* ${PREFIX}/share/doc/album
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/album/Pics
- ${INSTALL_DATA} ${WRKSRC}/Docs/Pics/* ${PREFIX}/share/doc/album/Pics
+ ${INSTALL_SCRIPT} ${WRKSRC}/${MY_SCRIPT} ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MY_SCRIPT}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/Docs/[Sa-z]* ${DESTDIR}${PREFIX}/share/doc/album
+ ${INSTALL_DATA} ${WRKSRC}/Docs/Pics/* ${DESTDIR}${PREFIX}/share/doc/album/Pics
.include "../../mk/bsd.pkg.mk"