svn commit: r404631 - head/x11/3ddesktop

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Dec 28 14:02:01 UTC 2015


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/


More information about the svn-ports-head mailing list