freebsd-ports/graphics/sng/Makefile
Eric Anholt 4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00

35 lines
820 B
Makefile

# ex:ts=8
# New ports collection makefile for: sng
# Date created: Mar 20, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sng
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= compiler/decompiler for Scriptable Network Graphics
BUILD_DEPENDS= ${X11BASE}/lib/X11/rgb.txt:${X_CLIENTS_PORT}
RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
--with-rgbtxt=${X11BASE}/lib/X11/rgb.txt
USE_GMAKE= yes
MAN1= sng.1
pre-patch:
@${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>