Sun Aug 10 16:05:28 2008 UTC ()
DESTDIR support.


(joerg)
diff -r1.11 -r1.12 pkgsrc/graphics/comix/Makefile

cvs diff -r1.11 -r1.12 pkgsrc/graphics/comix/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/comix/Makefile 2008/04/19 14:28:46 1.11
+++ pkgsrc/graphics/comix/Makefile 2008/08/10 16:05:28 1.12
@@ -1,37 +1,39 @@ @@ -1,37 +1,39 @@
1# $NetBSD: Makefile,v 1.11 2008/04/19 14:28:46 tonnerre Exp $ 1# $NetBSD: Makefile,v 1.12 2008/08/10 16:05:28 joerg Exp $
2# 2#
3 3
4DISTNAME= comix-3.6.4 4DISTNAME= comix-3.6.4
5PKGREVISION= 2 5PKGREVISION= 2
6CATEGORIES= graphics python 6CATEGORIES= graphics python
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=comix/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=comix/}
8 8
9MAINTAINER= hugor@users.sourceforge.net 9MAINTAINER= hugor@users.sourceforge.net
10HOMEPAGE= http://comix.sourceforge.net/index.html 10HOMEPAGE= http://comix.sourceforge.net/index.html
11COMMENT= Image viewer specifically designed to handle comic books 11COMMENT= Image viewer specifically designed to handle comic books
12 12
 13PKG_DESTDIR_SUPPORT= user-destdir
 14
13DEPENDS+= unrar-[0-9]*:../../archivers/unrar 15DEPENDS+= unrar-[0-9]*:../../archivers/unrar
14 16
15USE_DIRS+= xdg-1.3 17USE_DIRS+= xdg-1.3
16MANCOMPRESSED= yes 18MANCOMPRESSED= yes
17 19
18SUBST_CLASSES+= install-path 20SUBST_CLASSES+= install-path
19SUBST_STAGE.install-path= pre-build 21SUBST_STAGE.install-path= pre-build
20SUBST_MESSAGE.install-path= Fixing man page installation path. 22SUBST_MESSAGE.install-path= Fixing man page installation path.
21SUBST_FILES.install-path= install.py 23SUBST_FILES.install-path= install.py
22SUBST_SED.install-path= -e "s,share/man/man,${PKGMANDIR}/man,g" 24SUBST_SED.install-path= -e "s,share/man/man,${PKGMANDIR}/man,g"
23 25
24PYTHON_PATCH_SCRIPTS= comix mime/comicthumb 26PYTHON_PATCH_SCRIPTS= comix mime/comicthumb
25 27
26do-build: 28do-build:
27 29
28do-install: 30do-install:
29 cd ${WRKSRC} && ${PYTHONBIN} install.py install --installdir ${PREFIX} 31 cd ${WRKSRC} && ${PYTHONBIN} install.py install --installdir ${DESTDIR}${PREFIX}
30 32
31.include "../../databases/shared-mime-info/buildlink3.mk" 33.include "../../databases/shared-mime-info/buildlink3.mk"
32.include "../../devel/GConf/buildlink3.mk" 34.include "../../devel/GConf/buildlink3.mk"
33.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 35.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
34.include "../../graphics/py-imaging/buildlink3.mk" 36.include "../../graphics/py-imaging/buildlink3.mk"
35.include "../../lang/python/application.mk" 37.include "../../lang/python/application.mk"
36.include "../../x11/py-gtk2/buildlink3.mk" 38.include "../../x11/py-gtk2/buildlink3.mk"
37.include "../../mk/bsd.pkg.mk" 39.include "../../mk/bsd.pkg.mk"