Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2015 14:01:59 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404631 - head/x11/3ddesktop
Message-ID:  <201512281401.tBSE1xJ2013920@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 28 14:01:59 2015
New Revision: 404631
URL: https://svnweb.freebsd.org/changeset/ports/404631

Log:
  - Switch to USES=localbase
  - Switch to options helpers
  - Fix WWW:

Modified:
  head/x11/3ddesktop/Makefile
  head/x11/3ddesktop/pkg-descr

Modified: head/x11/3ddesktop/Makefile
==============================================================================
--- head/x11/3ddesktop/Makefile	Mon Dec 28 13:21:47 2015	(r404630)
+++ head/x11/3ddesktop/Makefile	Mon Dec 28 14:01:59 2015	(r404631)
@@ -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/
 		%%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

Modified: head/x11/3ddesktop/pkg-descr
==============================================================================
--- head/x11/3ddesktop/pkg-descr	Mon Dec 28 13:21:47 2015	(r404630)
+++ head/x11/3ddesktop/pkg-descr	Mon Dec 28 14:01:59 2015	(r404631)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512281401.tBSE1xJ2013920>