Lines 7-13
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= gerbv |
9 |
PORTNAME= gerbv |
10 |
PORTVERSION= 0.12 |
10 |
PORTVERSION= 0.13 |
11 |
CATEGORIES= cad |
11 |
CATEGORIES= cad |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 17-22
Link Here
|
17 |
|
17 |
|
18 |
USE_GNOME= gdkpixbuf |
18 |
USE_GNOME= gdkpixbuf |
19 |
USE_REINPLACE= yes |
19 |
USE_REINPLACE= yes |
|
|
20 |
USE_GETOPT_LONG= yes |
20 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
21 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
22 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
22 |
CONFIGURE_ARGS= --enable-exportpng |
23 |
CONFIGURE_ARGS= --enable-exportpng |
Lines 25-35
Link Here
|
25 |
|
26 |
|
26 |
CPPFLAGS= -I${LOCALBASE}/include |
27 |
CPPFLAGS= -I${LOCALBASE}/include |
27 |
LDFLAGS= -L${LOCALBASE}/lib |
28 |
LDFLAGS= -L${LOCALBASE}/lib |
28 |
|
|
|
29 |
.if !exists(/usr/include/getopt.h) |
30 |
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
31 |
LDFLAGS+= -lgnugetopt |
32 |
.endif |
33 |
|
29 |
|
34 |
post-patch: |
30 |
post-patch: |
35 |
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/amacro.c |
31 |
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/amacro.c |