| @@ -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 | |
4 | DISTNAME= comix-3.6.4 | | 4 | DISTNAME= comix-3.6.4 |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 2 |
6 | CATEGORIES= graphics python | | 6 | CATEGORIES= graphics python |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=comix/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=comix/} |
8 | | | 8 | |
9 | MAINTAINER= hugor@users.sourceforge.net | | 9 | MAINTAINER= hugor@users.sourceforge.net |
10 | HOMEPAGE= http://comix.sourceforge.net/index.html | | 10 | HOMEPAGE= http://comix.sourceforge.net/index.html |
11 | COMMENT= Image viewer specifically designed to handle comic books | | 11 | COMMENT= Image viewer specifically designed to handle comic books |
12 | | | 12 | |
| | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
| | | 14 | |
13 | DEPENDS+= unrar-[0-9]*:../../archivers/unrar | | 15 | DEPENDS+= unrar-[0-9]*:../../archivers/unrar |
14 | | | 16 | |
15 | USE_DIRS+= xdg-1.3 | | 17 | USE_DIRS+= xdg-1.3 |
16 | MANCOMPRESSED= yes | | 18 | MANCOMPRESSED= yes |
17 | | | 19 | |
18 | SUBST_CLASSES+= install-path | | 20 | SUBST_CLASSES+= install-path |
19 | SUBST_STAGE.install-path= pre-build | | 21 | SUBST_STAGE.install-path= pre-build |
20 | SUBST_MESSAGE.install-path= Fixing man page installation path. | | 22 | SUBST_MESSAGE.install-path= Fixing man page installation path. |
21 | SUBST_FILES.install-path= install.py | | 23 | SUBST_FILES.install-path= install.py |
22 | SUBST_SED.install-path= -e "s,share/man/man,${PKGMANDIR}/man,g" | | 24 | SUBST_SED.install-path= -e "s,share/man/man,${PKGMANDIR}/man,g" |
23 | | | 25 | |
24 | PYTHON_PATCH_SCRIPTS= comix mime/comicthumb | | 26 | PYTHON_PATCH_SCRIPTS= comix mime/comicthumb |
25 | | | 27 | |
26 | do-build: | | 28 | do-build: |
27 | | | 29 | |
28 | do-install: | | 30 | do-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" |