aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/graffer
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-26 07:50:00 +0800
committerbapt <bapt@FreeBSD.org>2013-12-26 07:50:00 +0800
commit10d2f92bcec767350e24c56b82f74c95efba8807 (patch)
treea44c11854d57936f61edf89b293ee4eda7cd7915 /sysutils/graffer
parent23c9f4aefa99e7d9bbba44b7951570e069279540 (diff)
downloadfreebsd-ports-gnome-10d2f92bcec767350e24c56b82f74c95efba8807.tar.gz
freebsd-ports-gnome-10d2f92bcec767350e24c56b82f74c95efba8807.tar.zst
freebsd-ports-gnome-10d2f92bcec767350e24c56b82f74c95efba8807.zip
Fix badly reintroduced USE_ICONV
While here: - Convert LIB_DEPENDS to new format - Remove userless pre.mk/post.mk
Diffstat (limited to 'sysutils/graffer')
-rw-r--r--sysutils/graffer/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysutils/graffer/Makefile b/sysutils/graffer/Makefile
index 1691bad69c84..01ecc3b5623d 100644
--- a/sysutils/graffer/Makefile
+++ b/sysutils/graffer/Makefile
@@ -10,19 +10,17 @@ MASTER_SITES= http://chaosophia.net/downloads/graffer/ \
MAINTAINER= koue@chaosophia.net
COMMENT= Utility to render graphical statistics
-LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
+USES= iconv
MAKE_ARGS= "LD_GD=gd"
MAKE_END+= __MAKE_CONF=/dev/null
-USE_ICONV= yes
PLIST_FILES= bin/graffer \
etc/graffer/graffer.conf.example \
man/man8/graffer.8.gz
PLIST_DIRS= etc/graffer
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|-lgd|-l$${LD_GD}|; s| -lttf||' \
${WRKSRC}/Makefile
@@ -37,4 +35,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/graffer
${INSTALL_DATA} ${WRKSRC}/graffer.conf.example ${STAGEDIR}${PREFIX}/etc/graffer
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>