blob: 95241ebdc1ad5ba46b25bbec050b006e2278eed1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: gtkdps
# Date created: 21 April 1998
# Whom: Yukihiro Nakai <Nakai@technologist.com>
#
# $FreeBSD$
#
PORTNAME= gtkdps
PORTVERSION= 0.3.4
PORTREVISION= 7
CATEGORIES= graphics
# ftp://ftp.gyve.org/pub/gtkDPS/
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= dinoex
DISTNAME= gtkDPS-${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Gtk bindings for the Display GhostScript System
LIB_DEPENDS+= dpstk.0:${PORTSDIR}/x11/dgs
USE_GNOME= gtk12
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-dps-includes=${LOCALBASE}/include \
--with-dps-libraries=${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
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
post-patch:
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure
.include <bsd.port.post.mk>
|