Fix badly reintroduced USE_ICONV
While here: - Convert LIB_DEPENDS to new format - Remove userless pre.mk/post.mk
This commit is contained in:
parent
6f4916f545
commit
29cf7d5d06
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337466
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user