svn commit: r344509 - head/x11-fonts/font-manager

Antoine Brodin antoine at FreeBSD.org
Sun Feb 16 09:37:22 UTC 2014


Author: antoine
Date: Sun Feb 16 09:37:21 2014
New Revision: 344509
URL: http://svnweb.freebsd.org/changeset/ports/344509
QAT: https://qat.redports.org/buildarchive/r344509/

Log:
  - Stage support
  - New LIB_DEPENDS syntax
  - Use OPTIONS helpers
  - Remove reference to deprecated NOPORTDATA

Modified:
  head/x11-fonts/font-manager/Makefile

Modified: head/x11-fonts/font-manager/Makefile
==============================================================================
--- head/x11-fonts/font-manager/Makefile	Sun Feb 16 09:32:01 2014	(r344508)
+++ head/x11-fonts/font-manager/Makefile	Sun Feb 16 09:37:21 2014	(r344509)
@@ -8,9 +8,12 @@ CATEGORIES=	x11-fonts gnome
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
 MAINTAINER=	lichray at gmail.com
-COMMENT=	A font management application for the GNOME desktop
+COMMENT=	Font management application for the GNOME desktop
 
-LIB_DEPENDS=	sqlite3:${PORTSDIR}/databases/sqlite3
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libsqlite3.so:${PORTSDIR}/databases/sqlite3
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
 		${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
 
@@ -20,30 +23,16 @@ USE_GNOME=	pygtk2
 GNU_CONFIGURE=	yes
 USES=		gmake pkgconfig
 
-LICENSE_FILE=	${WRKSRC}/COPYING
 PORTDATA=	*
 
 OPTIONS_DEFINE=	REPORTLAB NLS
 REPORTLAB_DESC=	Enable font-sampler (PDF sample sheet)
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_SUB=		yes
+
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
 
-.if defined(NOPORTDATA)
-IGNORE=	port data is source code, undefine NOPORTDATA
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-CONFIGURE_ARGS+=	--enable-nls
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MREPORTLAB}
-RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/reportlab/:${PORTSDIR}/print/py-reportlab2
-.endif
+REPORTLAB_RUN_DEPENDS=	${PYTHON_SITELIBDIR}/reportlab/:${PORTSDIR}/print/py-reportlab2
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list