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