2012-10-18 21:48:10 +02:00
|
|
|
# Created by: Yukihiro Nakai <Nakai@technologist.com>
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-07-13 04:21:34 +02:00
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= gtkdps
|
2006-07-26 01:05:58 +02:00
|
|
|
PORTVERSION= 0.3.4
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 7
|
1998-07-13 04:21:34 +02:00
|
|
|
CATEGORIES= graphics
|
2009-01-16 18:22:52 +01:00
|
|
|
# ftp://ftp.gyve.org/pub/gtkDPS/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= dinoex
|
2000-04-14 12:48:02 +02:00
|
|
|
DISTNAME= gtkDPS-${PORTVERSION}
|
1998-07-13 04:21:34 +02:00
|
|
|
|
2012-10-18 21:48:10 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Gtk bindings for the Display GhostScript System
|
1998-07-13 04:21:34 +02:00
|
|
|
|
2013-01-26 17:58:08 +01:00
|
|
|
LIB_DEPENDS+= dpstk:${PORTSDIR}/x11/dgs
|
2008-03-17 13:37:16 +01:00
|
|
|
|
2002-09-03 04:46:49 +02:00
|
|
|
USE_GNOME= gtk12
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-08-15 01:06:39 +02:00
|
|
|
USE_LDCONFIG= yes
|
2008-03-30 11:36:46 +02:00
|
|
|
CONFIGURE_ARGS= --with-dps-includes=${LOCALBASE}/include \
|
|
|
|
--with-dps-libraries=${LOCALBASE}/lib
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-07-26 01:05:58 +02:00
|
|
|
|
2013-04-30 00:27:05 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2006-07-26 01:05:58 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
1998-07-13 04:21:34 +02:00
|
|
|
|
2004-02-26 10:28:49 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "alpha"
|
2006-07-26 01:05:58 +02:00
|
|
|
BROKEN= Does not compile on alpha
|
2004-02-26 10:28:49 +01:00
|
|
|
.endif
|
|
|
|
|
2005-06-01 21:56:04 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2004-02-26 10:28:49 +01:00
|
|
|
.include <bsd.port.post.mk>
|