aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql91-server
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-04-26 23:10:57 +0800
committerbapt <bapt@FreeBSD.org>2013-04-26 23:10:57 +0800
commitcc4b94048a126ec78a099b5d48c981211ebb05b4 (patch)
treea82894e443e00d2d1e62c361da23f99b943f1351 /databases/postgresql91-server
parent1e52c8a94d29dd477a2bee1a90337267ab29c66b (diff)
downloadfreebsd-ports-gnome-cc4b94048a126ec78a099b5d48c981211ebb05b4.tar.gz
freebsd-ports-gnome-cc4b94048a126ec78a099b5d48c981211ebb05b4.tar.zst
freebsd-ports-gnome-cc4b94048a126ec78a099b5d48c981211ebb05b4.zip
Convert USE_GETTEXT -> USES=gettext
While here: - Trim headers - Remove some useless pre.mk/post.mk - Convert to optionsng
Diffstat (limited to 'databases/postgresql91-server')
-rw-r--r--databases/postgresql91-server/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index c565e632fab1..5030637f9f88 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -140,8 +140,6 @@ PLIST_SUB+= OSSP=""
PLIST_SUB+= OSSP="@comment "
.endif
-.include <bsd.port.pre.mk>
-
.if !defined(SLAVE_ONLY)
PATCH_DIST_STRIP=-p1
@@ -181,10 +179,10 @@ PLIST_SUB+= TZDATA="@comment "
CONFIGURE_ARGS+=--disable-integer-datetimes
. endif
-. if ( defined(WITH_GETTEXT) || ${PORT_OPTIONS:MNLS} )
+. if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= GETTEXT=""
-USE_GETTEXT= yes
+USES+= gettext
. else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= GETTEXT="@comment "
@@ -390,4 +388,4 @@ check:
fi
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>