freebsd-ports/graphics/gtkdps/Makefile

48 lines
1 KiB
Makefile
Raw Normal View History

# Created by: Yukihiro Nakai <Nakai@technologist.com>
1999-08-25 08:16:32 +02:00
# $FreeBSD$
PORTNAME= gtkdps
PORTVERSION= 0.3.4
2012-06-01 07:26:28 +02:00
PORTREVISION= 7
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
DISTNAME= gtkDPS-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Gtk bindings for the Display GhostScript System
2013-01-26 17:58:08 +01:00
LIB_DEPENDS+= dpstk:${PORTSDIR}/x11/dgs
2008-03-17 13:37:16 +01:00
USE_GNOME= gtk12
GNU_CONFIGURE= yes
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
2008-03-30 11:36:46 +02:00
CONFIGURE_ARGS= --with-dps-includes=${LOCALBASE}/include \
--with-dps-libraries=${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
2004-02-26 10:28:49 +01:00
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha"
BROKEN= Does not compile on alpha
2004-02-26 10:28:49 +01:00
.endif
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>