aboutsummaryrefslogtreecommitdiff
path: root/editors/gnotepad+/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/gnotepad+/Makefile')
-rw-r--r--editors/gnotepad+/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/editors/gnotepad+/Makefile b/editors/gnotepad+/Makefile
index 8b930089c51f..8398f0d4a76a 100644
--- a/editors/gnotepad+/Makefile
+++ b/editors/gnotepad+/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnotepad+
PORTVERSION= 1.3.3
-PORTREVISION= 3
+PORTREVISION= 5
CATEGORIES= editors www gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnotepad
@@ -25,7 +25,7 @@ USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_XPM= yes
WANT_GNOME= yes
-USE_GNOME= gtk12
+USE_GNOME= gnomeprefix gtk12
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@@ -44,12 +44,10 @@ post-extract:
.endif
.if ${HAVE_GNOME:Mgnomelibs}!=""
-USE_GNOME= gnomeprefix gnomelibs
+USE_GNOME+= gnomelibs
PKGNAMESUFFIX= -gnome
-PLIST_SUB= DATADIR="share/gnome"
.else
CONFIGURE_ARGS+=--disable-gnome
-PLIST_SUB= DATADIR="share"
.endif
.include <bsd.port.post.mk>