Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2014 15:00:34 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344400 - head/math/surf
Message-ID:  <201402151500.s1FF0YVm059558@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Feb 15 15:00:33 2014
New Revision: 344400
URL: http://svnweb.freebsd.org/changeset/ports/344400
QAT: https://qat.redports.org/buildarchive/r344400/

Log:
  - Convert LIB_DEPENDS to new syntax
  - Add LICENSE
  - Add stage support
  - Add DOCS option

Modified:
  head/math/surf/Makefile

Modified: head/math/surf/Makefile
==============================================================================
--- head/math/surf/Makefile	Sat Feb 15 14:56:04 2014	(r344399)
+++ head/math/surf/Makefile	Sat Feb 15 15:00:33 2014	(r344400)
@@ -10,9 +10,11 @@ MASTER_SITES=	SF
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Visualize some real algebraic geometry
 
-LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
-		tiff.4:${PORTSDIR}/graphics/tiff \
-		gmp.10:${PORTSDIR}/math/gmp
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libtiff.so:${PORTSDIR}/graphics/tiff \
+		libgmp.so:${PORTSDIR}/math/gmp
 
 USE_XORG=	x11 xmu
 USE_GNOME=	gtk12
@@ -23,12 +25,13 @@ CONFIGURE_ARGS=	--disable-cups --datadir
 
 CONFLICTS=	surf-0* # www/surf
 
-MAN1=		${PORTNAME}.1
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	manual.sgml
-PLIST_FILES=	bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.xpm
+PLIST_FILES=	bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.xpm \
+		man/man1/${PORTNAME}.1.gz
 PLIST_DIRS=	%%DATADIR%%
 
-NO_STAGE=	yes
 post-patch:
 	@${FIND} ${WRKSRC} -name "Makefile.in" -print0 | ${XARGS} -0 \
 		${REINPLACE_CMD} -e \
@@ -36,9 +39,7 @@ post-patch:
 		 s|@CUPS_FALSE@||g'
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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