aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-28 22:01:59 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-28 22:01:59 +0800
commitb9bc45762a4f074071f92d313b13c5c9cb4af378 (patch)
treed8db0134b15723a8c09667cdd753cb45f04c1383 /x11
parentd6fdb05d88fbf3991b8e89f758dd0d13167b1206 (diff)
downloadfreebsd-ports-gnome-b9bc45762a4f074071f92d313b13c5c9cb4af378.tar.gz
freebsd-ports-gnome-b9bc45762a4f074071f92d313b13c5c9cb4af378.tar.zst
freebsd-ports-gnome-b9bc45762a4f074071f92d313b13c5c9cb4af378.zip
- Switch to USES=localbase
- Switch to options helpers - Fix WWW:
Diffstat (limited to 'x11')
-rw-r--r--x11/3ddesktop/Makefile11
-rw-r--r--x11/3ddesktop/pkg-descr2
2 files changed, 7 insertions, 6 deletions
diff --git a/x11/3ddesktop/Makefile b/x11/3ddesktop/Makefile
index 914685e257e9..c2232965a32e 100644
--- a/x11/3ddesktop/Makefile
+++ b/x11/3ddesktop/Makefile
@@ -12,6 +12,7 @@ COMMENT= 3D Virtual Desktop Switcher
LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2
+USES= localbase
USE_XORG= xmu
USE_GL= glut
GNU_CONFIGURE= yes
@@ -21,10 +22,10 @@ PLIST_FILES= bin/3ddesk bin/3ddeskd etc/3ddesktop.conf \
%%DATADIR%%/digits.bmp \
man/man1/3ddesk.1.gz man/man1/3ddeskd.1.gz
-CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT -pthread
-LDFLAGS+= -L${LOCALBASE}/lib -pthread
+CPPFLAGS+= -DHAVE_DECL_GETOPT -pthread
+LDFLAGS+= -pthread
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
@@ -34,8 +35,8 @@ post-patch:
s|@AUTOHEADER@|${TRUE}|g ; \
s|@AUTOMAKE@|${TRUE}|g'
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README README.windowmanagers
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
diff --git a/x11/3ddesktop/pkg-descr b/x11/3ddesktop/pkg-descr
index 6d9443a768e3..8b77f3092a3f 100644
--- a/x11/3ddesktop/pkg-descr
+++ b/x11/3ddesktop/pkg-descr
@@ -2,4 +2,4 @@
a seamless 3-Dimensional environment. Impress your friends, and slow down
your desktop... all at the same time!
-WWW: http://desk3d.sourceforge.net
+WWW: http://desk3d.sourceforge.net/