1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- don't use obsolete gdlib-config

This commit is contained in:
Dirk Meyer 2020-07-24 10:05:45 +00:00
parent 60b2de010f
commit d49fcf66ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543236

View File

@ -3,7 +3,7 @@
PORTNAME= a2png
PORTVERSION= 0.1.5
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= SF
@ -13,20 +13,24 @@ COMMENT= Converts plain ASCII text into PNG bitmap images
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_armv6= fails to build: parse.c:(.text+0x174): undefined reference to 'fgettok'
BROKEN_armv7= fails to build: parse.c:(.text+0x174): undefined reference to 'fgettok'
BROKEN_i386= fails to build: parse.c:(.text+0x135): undefined reference to 'fgettok'
LIB_DEPENDS= libgd.so:graphics/gd
BROKEN_armv6 = fails to build: parse.c:(.text+0x174): undefined reference to 'fgettok'
BROKEN_armv7 = fails to build: parse.c:(.text+0x174): undefined reference to 'fgettok'
BROKEN_i386= fails to build: parse.c:(.text+0x135): undefined reference to 'fgettok'
USES= tar:bzip2
USES= tar:bzip2 localbase
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gd
CONFIGURE_ARGS= --enable-gd --with-gdlib-config-path=${WRKDIR}
CFLAGS+= -DDEFAULT_FONTPATH='\"${FONTROOTDIR}/TTF:${FONTROOTDIR}/Type1:${FONTROOTDIR}\"'
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
FONTROOTDIR?= ${LOCALBASE}/share/fonts
pre-configure:
${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/gdlib-config
${CHMOD} +x ${WRKDIR}/gdlib-config
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1