freebsd-ports/graphics/gtkdps/Makefile

43 lines
986 B
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
PORTREVISION= 8
CATEGORIES= graphics
2009-01-16 18:22:52 +01:00
# ftp://ftp.gyve.org/pub/gtkDPS/
MASTER_SITES= LOCAL/dinoex
DISTNAME= gtkDPS-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Gtk bindings for the Display GhostScript System
LIB_DEPENDS= libdpstk.so:${PORTSDIR}/x11/dgs
2008-03-17 13:37:16 +01:00
USES= libtool
USE_GNOME= gtk12
GNU_CONFIGURE= yes
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
BROKEN_alpha= Does not compile on alpha
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
2004-02-26 10:28:49 +01:00
post-patch:
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure
@${REINPLACE_CMD} 's|gnulocaledir)|DESTDIR)$$(&|' \
${WRKSRC}/po/Makefile.in.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgtkDPS.so
.include <bsd.port.mk>