Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2014 18:17:38 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352444 - head/graphics/gtkdps
Message-ID:  <201404271817.s3RIHcTK072111@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Apr 27 18:17:37 2014
New Revision: 352444
URL: http://svnweb.freebsd.org/changeset/ports/352444
QAT: https://qat.redports.org/buildarchive/r352444/

Log:
  - Add staging support
  - Convert to new LIB_DEPENDS format
  - Use options helpers, subs

Modified:
  head/graphics/gtkdps/Makefile

Modified: head/graphics/gtkdps/Makefile
==============================================================================
--- head/graphics/gtkdps/Makefile	Sun Apr 27 17:54:56 2014	(r352443)
+++ head/graphics/gtkdps/Makefile	Sun Apr 27 18:17:37 2014	(r352444)
@@ -13,7 +13,7 @@ DISTNAME=	gtkDPS-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Gtk bindings for the Display GhostScript System
 
-LIB_DEPENDS+=	dpstk:${PORTSDIR}/x11/dgs
+LIB_DEPENDS=	libdpstk.so:${PORTSDIR}/x11/dgs
 
 USE_GNOME=	gtk12
 GNU_CONFIGURE=	yes
@@ -24,28 +24,17 @@ CONFIGURE_ARGS=	--with-dps-includes=${LO
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
+alpha_BROKEN=	Does not compile on alpha
 
 OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "alpha"
-BROKEN=		Does not compile on alpha
-.endif
+NLS_USES=	gettext
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
 		${WRKSRC}/configure
+	@${REINPLACE_CMD} 's|gnulocaledir)|DESTDIR)$$(&|' \
+		${WRKSRC}/po/Makefile.in.in
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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