On 2014/05/06 14:39, Nils R wrote:
> I hope this one is better.  I'm unsure if the replacement of the man-path 
> should take place in setup.py, and if pre-fake is the right target (see the
> Makefile).

setup.py is the right place, but in OpenBSD ports the normal way
to do this is by patching.

> Also, after deinstallation, it prints a warning that /usr/local/man/man1 
> can't be 
> removed:

Landry covered this one.

Diff relative to yours, and a new .tgz attached. With these changes,
it's OK sthen@ if somebody would like to import it.. (This is good:
it reduces my to-do list by 1 port :-)



diff --git Makefile Makefile
index 6bee0c8..43a1f9a 100644
--- Makefile
+++ Makefile
@@ -1,15 +1,15 @@
 # $OpenBSD: Makefile,v 1.68 2013/10/02 07:34:45 ajacoutot Exp $
-COMMENT =      Python audio file tagger
+
+COMMENT =      spreadsheet-like audio file tagger
 
 MODPY_EGG_VERSION = 1.0.3
 DISTNAME =     puddletag-${MODPY_EGG_VERSION}
-REVISION =     6
 CATEGORIES =   audio
 
-PERMIT_PACKAGE_CDROM =  Yes
+PERMIT_PACKAGE_CDROM = Yes
 
 HOMEPAGE =     http://puddletag.sourceforge.net
-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=puddletag/}
+MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=puddletag/}
 
 MODULES =      lang/python
 RUN_DEPENDS =  audio/py-mutagen \
@@ -18,7 +18,4 @@ RUN_DEPENDS = audio/py-mutagen \
                devel/desktop-file-utils \
                x11/py-qt4
 
-pre-fake:
-       @perl -pi -e 's,share/man,man,g' ${WRKSRC}/setup.py
-
 .include <bsd.port.mk>
diff --git pkg/DESCR pkg/DESCR
index b6131a7..114594c 100644
--- pkg/DESCR
+++ pkg/DESCR
@@ -1,4 +1,3 @@
-puddletag is an audio tag editor (primarily created) for GNU/Linux
-similar to the Windows program, Mp3tag. Unlike most taggers for
-GNU/Linux, it uses a spreadsheet-like layout so that all the tags you
-want to edit by hand are visible and easily editable.
+puddletag is an audio tag editor similar to the Windows program, Mp3tag.
+It uses a spreadsheet-like layout so that all the tags you want to edit by
+hand are visible and easily editable.
diff --git pkg/PLIST pkg/PLIST
index eb18531..eb1461d 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -139,10 +139,8 @@ 
lib/python${MODPY_VERSION}/site-packages/puddlestuff/util.pyc
 lib/python${MODPY_VERSION}/site-packages/puddlestuff/webdb.py
 lib/python${MODPY_VERSION}/site-packages/puddlestuff/webdb.pyc
 
lib/python${MODPY_VERSION}/site-packages/puddletag-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
-share/applications/puddletag.desktop
-man/
-man/man1/
 @man man/man1/puddletag.1
+share/applications/puddletag.desktop
 share/pixmaps/
 share/pixmaps/puddletag.png
 @exec %D/bin/update-desktop-database

Attachment: puddletag.tgz
Description: application/tar-gz

Reply via email to