diff options
author | dinoex <dinoex@FreeBSD.org> | 2005-08-28 17:19:42 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2005-08-28 17:19:42 +0800 |
commit | 7bf273958619c95c450fda7ccfcf6c8c7c733420 (patch) | |
tree | b26735ccf92025cb2fef8345f6dbc85d9b144f12 /graphics | |
parent | f3952cb3b1561771d1dc2fc78630a9a8caed89f6 (diff) | |
download | freebsd-ports-gnome-7bf273958619c95c450fda7ccfcf6c8c7c733420.tar.gz freebsd-ports-gnome-7bf273958619c95c450fda7ccfcf6c8c7c733420.tar.zst freebsd-ports-gnome-7bf273958619c95c450fda7ccfcf6c8c7c733420.zip |
- take maintainership
- fix option WITHOUT_NLS
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/pornview/Makefile | 8 | ||||
-rw-r--r-- | graphics/pornview/pkg-plist | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/graphics/pornview/Makefile b/graphics/pornview/Makefile index 08efc4a7182e..e2ea9f3c3a64 100644 --- a/graphics/pornview/Makefile +++ b/graphics/pornview/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p./pre/} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dinoex@FreeBSD.org COMMENT= PornView is an image viewer/manager LIB_DEPENDS= exif.12:${PORTSDIR}/graphics/libexif @@ -32,6 +32,12 @@ CONFIGURE_ARGS+= --enable-xine RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer CONFIGURE_ARGS+= --enable-mplayer .endif +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= WITH_NLS="@comment " +.else +PLIST_SUB+= WITH_NLS="" +.endif post-patch: @${REINPLACE_CMD} -e \ diff --git a/graphics/pornview/pkg-plist b/graphics/pornview/pkg-plist index def76ea79cee..1f53c2f61395 100644 --- a/graphics/pornview/pkg-plist +++ b/graphics/pornview/pkg-plist @@ -1,8 +1,8 @@ bin/pornview share/gnome/apps/Graphics/pornview.desktop share/gnome/pixmaps/pornview.png -share/locale/fr/LC_MESSAGES/pornview.mo -share/locale/pl/LC_MESSAGES/pornview.mo +%%WITH_NLS%%share/locale/fr/LC_MESSAGES/pornview.mo +%%WITH_NLS%%share/locale/pl/LC_MESSAGES/pornview.mo share/gnome/pornview/scripts/helloworld @dirrm share/gnome/pornview/scripts @dirrm share/gnome/pornview |