1998-07-13 04:21:34 +02:00
|
|
|
# New ports collection makefile for: gtkdps
|
|
|
|
# Date created: 21 April 1998
|
|
|
|
# Whom: 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
|
1998-07-13 04:21:34 +02:00
|
|
|
CATEGORIES= graphics
|
2006-07-26 01:05:58 +02:00
|
|
|
MASTER_SITES= ftp://ftp.gyve.org/pub/gtkDPS/ \
|
|
|
|
${MASTER_SITE_GENTOO}
|
|
|
|
MASTER_SITE_SUBDIR= distfiles
|
2000-04-14 12:48:02 +02:00
|
|
|
DISTNAME= gtkDPS-${PORTVERSION}
|
1998-07-13 04:21:34 +02:00
|
|
|
|
2003-11-03 02:19:26 +01: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
|
|
|
|
2006-08-03 23:00:35 +02:00
|
|
|
LIB_DEPENDS= dpstk.0:${PORTSDIR}/x11/dgs
|
2006-04-23 00:19:28 +02:00
|
|
|
|
2002-09-03 04:46:49 +02:00
|
|
|
USE_GNOME= gtk12
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-10-05 08:36:23 +02:00
|
|
|
CONFIGURE_ARGS= --with-dps-includes=${X11BASE}/include \
|
|
|
|
--with-dps-libraries=${X11BASE}/lib
|
2006-07-26 01:05:58 +02: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 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
|
|
|
|
|
2006-08-03 23:00:35 +02:00
|
|
|
.if ${X_WINDOW_SYSTEM:L} == "xfree86-4"
|
|
|
|
BUILD_DEPENDS+= pswrap:${PORTSDIR}/devel/imake-4
|
|
|
|
.else
|
|
|
|
BUILD_DEPENDS+= pswrap:${PORTSDIR}/devel/imake-6
|
|
|
|
.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>
|