freebsd-ports/print/gv/Makefile
Guido Falsi 642be1b81d - Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
2013-09-04 18:06:07 +00:00

41 lines
957 B
Makefile

# Created by: tg@freebsd.org
# $FreeBSD$
PORTNAME= gv
PORTVERSION= 3.7.4
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= bf@FreeBSD.org
COMMENT= A PostScript and PDF previewer
LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
USE_XORG= xpm ice sm xext xmu x11
USE_GHOSTSCRIPT= yes
USE_GMAKE= yes
USES= iconv
USE_PERL5_BUILD= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV += LDFLAGS="${LDFLAGS}" LIBS="${ICONV_LIB}"
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/X11 \
--enable-setenv-code \
--enable-SIGCHLD-fallback
MAN1= gv.1 gv-update-userconfig.1
INFO= gv
PLIST_FILES= bin/gv \
bin/gv-update-userconfig \
%%DATADIR%%/gv_system.ad \
%%DATADIR%%/safe-gs-workdir/.keep_me \
lib/X11/app-defaults/GV
PLIST_DIRS= %%DATADIR%%/safe-gs-workdir \
%%DATADIR%%
post-install:
@${TOUCH} ${DATADIR}/safe-gs-workdir/.keep_me
.include <bsd.port.mk>