freebsd-ports/print/pslib/Makefile
Cheng-Lung Sung 147fdee482 - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include misc/ multimedia/ net/ net-mgmt/ net-im/
  net-p2p/ palm/ print/ science/ maintained by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-15 00:56:24 +00:00

46 lines
1,014 B
Makefile

# ex:ts=8
# Ports collection makefile for: pslib
# Date created: Jul 13, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pslib
PORTVERSION= 0.2.7
PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A C-library for generating multi page PostScript documents
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
USE_GNOME= gnomehack gnometarget intlhack pkgconfig
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_prog_DOC_TO_MAN=""
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if defined(WITHOUT_NLS)
CONFIGURE_ENV+= ac_cv_header_libintl_h=no
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
post-patch:
.if defined(WITHOUT_NLS)
@${REINPLACE_CMD} -e 's|@USE_NLS@|no|g' ${WRKSRC}/po/Makefile.in.in
.endif
.include <bsd.port.post.mk>