2001-03-20 12:47:11 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: sng
|
|
|
|
# Date created: Mar 20, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sng
|
2002-08-26 15:33:51 +02:00
|
|
|
PORTVERSION= 1.0.1
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2001-03-20 12:47:11 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2002-08-26 15:33:51 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= compiler/decompiler for Scriptable Network Graphics
|
2001-03-20 12:47:11 +01:00
|
|
|
|
2004-07-23 21:10:32 +02:00
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/X11/rgb.txt:${X_CLIENTS_PORT}
|
2001-04-14 12:21:19 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2001-09-11 04:22:51 +02:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
2001-03-20 12:47:11 +01:00
|
|
|
|
2002-08-26 15:33:51 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-03-20 12:47:11 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
2001-04-14 12:21:19 +02:00
|
|
|
CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
|
|
|
|
--with-rgbtxt=${X11BASE}/lib/X11/rgb.txt
|
2001-03-20 12:47:11 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
MAN1= sng.1
|
|
|
|
|
2001-04-14 12:21:19 +02:00
|
|
|
pre-patch:
|
2002-08-26 15:33:51 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
|
2001-04-14 12:21:19 +02:00
|
|
|
|
2001-03-20 12:47:11 +01:00
|
|
|
.include <bsd.port.mk>
|