Lines 7-13
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= dia2code |
9 |
PORTNAME= dia2code |
10 |
PORTVERSION= 0.8.1 |
10 |
PORTVERSION= 0.8.2 |
11 |
CATEGORIES= devel |
11 |
CATEGORIES= devel |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 15-36
Link Here
|
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= A small utility used to generate code from a Dia diagram |
16 |
COMMENT= A small utility used to generate code from a Dia diagram |
17 |
|
17 |
|
18 |
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 |
18 |
USE_GNOME= gnometarget libxml2 |
19 |
|
19 |
USE_GCC= 3.4+ |
20 |
XML_CONFIG= ${LOCALBASE}/bin/xml2-config |
20 |
USE_GMAKE= yes |
21 |
|
|
|
22 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
23 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
22 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
24 |
LDFLAGS="-L${LOCALBASE}/lib" \ |
23 |
LDFLAGS="-L${LOCALBASE}/lib" |
25 |
XML_CONFIG="${XML_CONFIG}" |
24 |
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \ |
|
|
25 |
AUTOMAKE="${TRUE}" |
26 |
|
26 |
|
27 |
MAN1= dia2code.1 |
27 |
MAN1= dia2code.1 |
28 |
PLIST_FILES= bin/dia2code |
28 |
PLIST_FILES= bin/dia2code |
29 |
|
29 |
|
30 |
post-patch: |
30 |
post-patch: |
31 |
@${REINPLACE_CMD} -e 's|#include <malloc.h>||' ${WRKSRC}/dia2code/dia2code.h |
31 |
@${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/dia2code/dia2code.h |
32 |
|
32 |
|
33 |
post-install: |
33 |
post-install: |
34 |
@${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1 |
34 |
${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1 |
35 |
|
35 |
|
36 |
.include <bsd.port.mk> |
36 |
.include <bsd.port.mk> |