aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gdkxft
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-03-26 03:14:43 +0800
committereadler <eadler@FreeBSD.org>2013-03-26 03:14:43 +0800
commit829086f391d67260ccc3007dc40423d9941b869e (patch)
treec71927c24616b647a0be8594203b80a737a11e2a /x11/gdkxft
parent11b654553e6799f28ab93b56abaf6a16d6806ab0 (diff)
downloadfreebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.tar.gz
freebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.tar.zst
freebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.zip
For some of the unmaintained ports in the x11 category convert them to OptionsNG
While here, trim the headers
Diffstat (limited to 'x11/gdkxft')
-rw-r--r--x11/gdkxft/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/gdkxft/Makefile b/x11/gdkxft/Makefile
index 6aa6ebdd62f3..a1fced9290ee 100644
--- a/x11/gdkxft/Makefile
+++ b/x11/gdkxft/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gdkxft
-# Date created: 3 September 2001
-# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
-#
+# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= gdkxft
PORTVERSION= 1.5
@@ -28,6 +24,8 @@ USE_LDCONFIG= yes
MAN8= gdkxft_sysinstall.8
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|gtk-config --prefix|$$GTK_CONFIG --prefix|g ; \
s|libgdk.la|libgdk-12.so|g ; \
@@ -44,7 +42,7 @@ post-patch:
.endfor
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif