2001-03-20 11:47:11 +00: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
|
2004-10-17 03:03:26 +00:00
|
|
|
PORTVERSION= 1.0.2
|
2008-03-10 23:05:07 +00:00
|
|
|
PORTREVISION= 2
|
2001-03-20 11:47:11 +00:00
|
|
|
CATEGORIES= graphics
|
- 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
|
|
|
MASTER_SITES= SF
|
2001-03-20 11:47:11 +00:00
|
|
|
|
2002-08-26 13:33:51 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-10-17 03:03:26 +00:00
|
|
|
COMMENT= Compiler/decompiler for Scriptable Network Graphics
|
2001-03-20 11:47:11 +00:00
|
|
|
|
- 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
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb
|
2001-09-11 02:22:51 +00:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
2001-03-20 11:47:11 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
2001-04-14 10:21:19 +00:00
|
|
|
CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
|
- 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
|
|
|
--with-rgbtxt=${LOCALBASE}/lib/X11/rgb.txt
|
2001-03-20 11:47:11 +00:00
|
|
|
|
2007-06-15 18:00:11 +00:00
|
|
|
MAN1= sng.1
|
2004-10-17 03:03:26 +00:00
|
|
|
PLIST_FILES= bin/sng bin/sng_regress
|
2001-03-20 11:47:11 +00:00
|
|
|
|
2001-04-14 10:21:19 +00:00
|
|
|
pre-patch:
|
2002-08-26 13:33:51 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
|
2007-06-15 18:00:11 +00:00
|
|
|
@${REINPLACE_CMD} -e '33,34s|^static ||' ${WRKSRC}/sngd.c
|
2001-04-14 10:21:19 +00:00
|
|
|
|
2004-10-17 03:03:26 +00:00
|
|
|
post-install:
|
2007-06-15 18:04:34 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${PREFIX}/bin
|
2004-10-17 03:03:26 +00:00
|
|
|
|
2001-03-20 11:47:11 +00:00
|
|
|
.include <bsd.port.mk>
|