aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sng
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-06-16 02:00:11 +0800
committerdanfe <danfe@FreeBSD.org>2007-06-16 02:00:11 +0800
commit14acc29d207765ca4f122612ea083d55deacaec4 (patch)
treebfd588b468d870b5a86ad7cb02c3c5c41969b29d /graphics/sng
parentd69874978bc9b6a5ef832e1b6220dee9078fecec (diff)
downloadfreebsd-ports-gnome-14acc29d207765ca4f122612ea083d55deacaec4.tar.gz
freebsd-ports-gnome-14acc29d207765ca4f122612ea083d55deacaec4.tar.zst
freebsd-ports-gnome-14acc29d207765ca4f122612ea083d55deacaec4.zip
- Fix the build with recent GCC [1]
- Correctly assign RUN_DEPENDS - Minor indentation nit in Makefile - Kill EOL space in pkg-descr Reported by: pointyhat (logs) [1]
Diffstat (limited to 'graphics/sng')
-rw-r--r--graphics/sng/Makefile5
-rw-r--r--graphics/sng/pkg-descr2
2 files changed, 4 insertions, 3 deletions
diff --git a/graphics/sng/Makefile b/graphics/sng/Makefile
index 69eff9f058b9..2143f8114a43 100644
--- a/graphics/sng/Makefile
+++ b/graphics/sng/Makefile
@@ -17,7 +17,7 @@ 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}
+RUN_DEPENDS:= ${BUILD_DEPENDS}
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
@@ -26,11 +26,12 @@ CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
--with-rgbtxt=${X11BASE}/lib/X11/rgb.txt
USE_GMAKE= yes
-MAN1= sng.1
+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
diff --git a/graphics/sng/pkg-descr b/graphics/sng/pkg-descr
index 323bbd7a906a..949be2fc3f93 100644
--- a/graphics/sng/pkg-descr
+++ b/graphics/sng/pkg-descr
@@ -1,4 +1,4 @@
-The sng program translates between PNG (Portable Network Graphics) format
+The sng program translates between PNG (Portable Network Graphics) format
and SNG (Scriptable Network Graphics) format. SNG is a printable and
editable minilanguage for describing PNG files. With sng, it is easy to
view and edit exotic PNG chunks not supported by graphics editors; also,