aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-04-30 15:11:19 +0800
committerjgh <jgh@FreeBSD.org>2013-04-30 15:11:19 +0800
commitb95138e7dc9166e704827f6e940f645021c05688 (patch)
tree749ae8abb23c24145259cb3314ad5099aaac642a /sysutils
parentf295e054a260dfe63b0118e593f9c0ca548a52df (diff)
downloadfreebsd-ports-gnome-b95138e7dc9166e704827f6e940f645021c05688.tar.gz
freebsd-ports-gnome-b95138e7dc9166e704827f6e940f645021c05688.tar.zst
freebsd-ports-gnome-b95138e7dc9166e704827f6e940f645021c05688.zip
- USES conversions
Approved by: portmgr (bapt@)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/LPRng/Makefile16
-rw-r--r--sysutils/e2fsprogs/Makefile6
-rw-r--r--sysutils/kgtk/Makefile2
3 files changed, 11 insertions, 13 deletions
diff --git a/sysutils/LPRng/Makefile b/sysutils/LPRng/Makefile
index 73a76b4b8b0b..c61231b45215 100644
--- a/sysutils/LPRng/Makefile
+++ b/sysutils/LPRng/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: LPRng
-# Date created: 2 Apr 1997
-# Whom: desmo@bandwidth.org
-#
+# Created by: desmo@bandwidth.org
# $FreeBSD$
-#
PORTNAME= LPRng
PORTVERSION= 3.8.35
@@ -64,10 +60,10 @@ MAN1= lpf.1 psbanner.1 lp.1 cancel.1 lprng_certs.1 lprng_index_certs.1 \
MAN5= printcap.5 lpd.conf.5 lpd.perms.5
MAN8= lpc.8 checkpc.8 lpd.8
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT= yes
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
@@ -101,7 +97,7 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/lpd.conf ${SYSCONFDIR}/lpd.conf.sample
@${INSTALL_DATA} ${WRKSRC}/lpd.perms ${SYSCONFDIR}/lpd.perms.sample
@${INSTALL_DATA} ${WRKSRC}/printcap ${SYSCONFDIR}/printcap.sample
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR}
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR}/Reference
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR}/PrintingCookbook
@@ -115,4 +111,4 @@ post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/e2fsprogs/Makefile b/sysutils/e2fsprogs/Makefile
index c289928ac782..582553f00d0f 100644
--- a/sysutils/e2fsprogs/Makefile
+++ b/sysutils/e2fsprogs/Makefile
@@ -50,10 +50,10 @@ MAKE_JOBS_SAFE= yes
MAKE_ARGS+= V=1
.endif
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
+USES+= gettext
PLIST_SUB= NLS=""
libintl= "${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a"
.else
@@ -62,6 +62,8 @@ PLIST_SUB= NLS="@comment "
libintl=
.endif
+.include <bsd.port.pre.mk>
+
post-patch::
@${REINPLACE_CMD} -E -e \
's:\$$\(libdir\)/pkgconfig:${PREFIX}/libdata/pkgconfig:' \
diff --git a/sysutils/kgtk/Makefile b/sysutils/kgtk/Makefile
index f55889117df5..45686729e540 100644
--- a/sysutils/kgtk/Makefile
+++ b/sysutils/kgtk/Makefile
@@ -29,7 +29,7 @@ USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
+USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "