Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= a2png |
3 |
PORTNAME= a2png |
4 |
PORTVERSION= 0.1.5 |
4 |
PORTVERSION= 0.1.5 |
5 |
PORTREVISION= 10 |
5 |
PORTREVISION= 11 |
6 |
CATEGORIES= graphics |
6 |
CATEGORIES= graphics |
7 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
8 |
|
8 |
|
Lines 12-35
COMMENT= Converts plain ASCII text into PNG bitmap images
Link Here
|
12 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2 |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
14 |
|
15 |
BROKEN_armv6= fails to build: parse.c:(.text+0x174): undefined reference to 'fgettok' |
|
|
16 |
BROKEN_armv7= fails to build: parse.c:(.text+0x174): undefined reference to 'fgettok' |
17 |
BROKEN_i386= fails to build: parse.c:(.text+0x135): undefined reference to 'fgettok' |
18 |
|
19 |
LIB_DEPENDS= libgd.so:graphics/gd |
15 |
LIB_DEPENDS= libgd.so:graphics/gd |
20 |
|
16 |
|
21 |
USES= tar:bzip2 localbase |
17 |
USES= tar:bzip2 localbase |
22 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
23 |
CONFIGURE_ARGS= --enable-gd --with-gdlib-config-path=${WRKDIR} |
19 |
CONFIGURE_ARGS= --enable-gd |
24 |
CFLAGS+= -DDEFAULT_FONTPATH='\"${FONTROOTDIR}/TTF:${FONTROOTDIR}/Type1:${FONTROOTDIR}\"' |
20 |
CFLAGS+= -DDEFAULT_FONTPATH='\"${FONTROOTDIR}/TTF:${FONTROOTDIR}/Type1:${FONTROOTDIR}\"' |
|
|
21 |
BINARY_ALIAS= gdlib-config=true |
25 |
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz |
22 |
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz |
26 |
|
23 |
|
27 |
FONTROOTDIR?= ${LOCALBASE}/share/fonts |
24 |
FONTROOTDIR?= ${LOCALBASE}/share/fonts |
28 |
|
25 |
|
29 |
pre-configure: |
|
|
30 |
${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/gdlib-config |
31 |
${CHMOD} +x ${WRKDIR}/gdlib-config |
32 |
|
33 |
do-install: |
26 |
do-install: |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
27 |
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
35 |
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 |
28 |
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 |