pkgsrc/www/album/Makefile
hans 516816666b Update www/album to 4.15
Version 4.15, 2016/04/19
------------------------
+ Update for a new, new way to handle animated gifs
* Big fixes for plugins social/facebook-comments and social/facebook-like

Version 4.14, 2015/03/02
------------------------
* Small change for galbum (-crf -v)
2016-12-16 15:24:20 +00:00

46 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2016/12/16 15:24:20 hans Exp $
DISTNAME= album-4.15
PKGREVISION=
CATEGORIES= www
MASTER_SITES= http://marginalhacks.com/bin/album.versions/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://marginalhacks.com/Hacks/album/
COMMENT= Generate HTML albums of images
#LICENSE= http://marginalhacks.com/License/
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
DEPENDS+= jhead>=2.0:../../graphics/jhead
DEPENDS+= ffmpeg3-[0-9]*:../../multimedia/ffmpeg3
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
MY_SCRIPT= album
USE_TOOLS+= perl:run
REPLACE_PERL= ${MY_SCRIPT}
NO_BUILD= YES
AUTO_MKDIRS= yes
SUBST_CLASSES+= prefix
SUBST_MESSAGE.prefix= Adjust Install Path to ${PREFIX}
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= album
SUBST_VARS.prefix= PREFIX
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${MY_SCRIPT} ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MY_SCRIPT}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/Docs/Section* ${DESTDIR}${PREFIX}/share/doc/album
${INSTALL_DATA} ${WRKSRC}/Docs/txt* ${DESTDIR}${PREFIX}/share/doc/album
${INSTALL_DATA} ${WRKSRC}/Docs/Pics/* ${DESTDIR}${PREFIX}/share/doc/album/Pics
for f in Short.html conf conf.bak flag.png index.html make_docs ; do \
${INSTALL_DATA} ${WRKSRC}/Docs/$${f} ${DESTDIR}${PREFIX}/share/doc/album ;\
done
for d in de es fr hu it nl ru ; do \
${INSTALL_DATA} ${WRKSRC}/Docs/$${d}/* ${DESTDIR}${PREFIX}/share/doc/album/$${d} ;\
done
.include "../../mk/bsd.pkg.mk"