aboutsummaryrefslogtreecommitdiffstats
path: root/x11/3ddesktop
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/3ddesktop
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/3ddesktop')
-rw-r--r--x11/3ddesktop/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/3ddesktop/Makefile b/x11/3ddesktop/Makefile
index 5ef9d6246b08..9030a67d4b96 100644
--- a/x11/3ddesktop/Makefile
+++ b/x11/3ddesktop/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: 3ddesktop
-# Date created: 12 June 2003
-# Whom: Adam Weinberger <adamw@FreeBSD.org>
-#
+# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= 3ddesktop
PORTVERSION= 0.2.9
@@ -27,6 +23,8 @@ PLIST_DIRS= %%DATADIR%%
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+.include <bsd.port.options.mk>
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-O3||g ; \
@@ -36,7 +34,7 @@ post-patch:
s|@AUTOMAKE@|${TRUE}|g'
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for i in README README.windowmanagers
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}