1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/graphics/sng/Makefile
Alexey Dokuchaev 38fa0f0460 - gmake(1) does not seem to be required
- Unmute INSTALL_SCRIPT invocation
2007-06-15 18:04:34 +00:00

39 lines
954 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.2
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
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
--with-rgbtxt=${X11BASE}/lib/X11/rgb.txt
MAN1= sng.1
PLIST_FILES= bin/sng bin/sng_regress
pre-patch:
@${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '33,34s|^static ||' ${WRKSRC}/sngd.c
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${PREFIX}/bin
.include <bsd.port.mk>