gunzip the man page and install it in the proper location

ok msf@ (MAINTAINER)
This commit is contained in:
mgrimm 2007-11-20 18:53:21 +00:00
parent a5eab2dbe3
commit cf083441f5
3 changed files with 19 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2007/10/08 08:22:41 steven Exp $
# $OpenBSD: Makefile,v 1.5 2007/11/20 18:53:21 mgrimm Exp $
COMMENT= gtk2 comic book viewer
DISTNAME= comix-3.6.2
PKGNAME= ${DISTNAME}p1
PKGNAME= ${DISTNAME}p2
CATEGORIES= graphics
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
@ -25,6 +25,9 @@ NO_REGRESS= Yes
PYTHON= ${LOCALBASE}/bin/python${MODPY_VERSION}
post-extract:
${GUNZIP_CMD} ${WRKSRC}/comix.1.gz
do-build:
# defined as empty to override do-build target from python module

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-install_py,v 1.1 2007/11/20 18:53:21 mgrimm Exp $
--- install.py.orig Mon Nov 19 19:36:30 2007
+++ install.py Mon Nov 19 19:38:08 2007
@@ -156,7 +156,7 @@ if args == ["install"]:
check_dependencies()
print "Installing Comix in", install_dir, "...\n"
install("comix", "bin/comix")
- install("comix.1.gz", "share/man/man1/comix.1.gz")
+ install("comix.1", "man/man1/comix.1")
install("comix.desktop", "share/applications/comix.desktop")
install("images/logo/comix.png", "share/pixmaps/comix.png")
install("images/logo/comix.png", "share/icons/hicolor/48x48/apps/comix.png")

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/02/05 07:25:31 msf Exp $
@comment $OpenBSD: PLIST,v 1.2 2007/11/20 18:53:21 mgrimm Exp $
bin/comix
@man man/man1/comix.1
share/applications/
share/applications/comix.desktop
share/icons/
@ -23,9 +24,6 @@ share/locale/pt_BR/LC_MESSAGES/comix.mo
share/locale/sv/LC_MESSAGES/comix.mo
share/locale/zh_CN/LC_MESSAGES/comix.mo
share/locale/zh_TW/LC_MESSAGES/comix.mo
share/man/
share/man/man1/
@man share/man/man1/comix.1.gz
share/pixmaps/
share/pixmaps/comix/
share/pixmaps/comix.png