1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/print/hp2xx/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

43 lines
929 B
Makefile

# New ports collection makefile for: hp2xx
# Date created: 17 Jan 1999
# Whom: Lars Koeller
#
# $FreeBSD$
#
PORTNAME= hp2xx
PORTVERSION= 3.4.4
PORTREVISION= 1
CATEGORIES= print x11
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A HPGL to vector- and raster formats converter and previewer for X11
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
WRKSRC= ${WRKDIR}/${DISTNAME}/sources
MAKE_ENV= DEFINES="${CPPFLAGS}" ALL_LIBS="${LDFLAGS}" \
PREVIEWER="${PREVIEWER}"
MAN1= hp2xx.1
INFO= hp2xx
CPPFLAGS= -DUNIX -I${LOCALBASE}/include
LDFLAGS= -lm -L${LOCALBASE}/lib -ltiff -lpng -lz
.if defined(WITHOUT_X11)
PKGNAMESUFFIX= -nox11
PREVIEWER= no_prev
.else
USE_XORG= x11
CPPFLAGS+= -DHAS_UNIX_X11 -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lX11
PREVIEWER= to_x11
.endif
.include <bsd.port.mk>