Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= oregano |
8 |
PORTNAME= oregano |
9 |
PORTVERSION= 0.40.0 |
9 |
PORTVERSION= 0.40.1 |
10 |
CATEGORIES= cad |
10 |
CATEGORIES= cad |
11 |
MASTER_SITES= http://gforge.lug.fi.uba.ar/frs/download.php/47/ |
11 |
MASTER_SITES= http://gforge.lug.fi.uba.ar/frs/download.php/47/ |
12 |
|
12 |
|
Lines 15-24
Link Here
|
15 |
|
15 |
|
16 |
LIB_DEPENDS= cairo.1:${PORTSDIR}/graphics/cairo |
16 |
LIB_DEPENDS= cairo.1:${PORTSDIR}/graphics/cairo |
17 |
|
17 |
|
|
|
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}-0.40.0 |
19 |
|
18 |
USE_BZIP2= yes |
20 |
USE_BZIP2= yes |
19 |
USE_X_PREFIX= yes |
21 |
USE_X_PREFIX= yes |
20 |
USE_GNOME= gnomehack gnomeprefix gtksourceview intlhack libglade2 \ |
22 |
USE_GNOME= gnomehack gnomeprefix gtksourceview intlhack libglade2 \ |
21 |
libgnomeui libgnomeprintui |
23 |
libgnomeprintui libgnomeui |
22 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
23 |
USE_LIBTOOL_VER= 15 |
25 |
USE_LIBTOOL_VER= 15 |
24 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
26 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
Lines 29-39
Link Here
|
29 |
|
31 |
|
30 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.pre.mk> |
31 |
|
33 |
|
32 |
.if ${OSVERSION} < 500000 |
|
|
33 |
BROKEN= "Does not compile on 4.x" |
34 |
.endif |
35 |
|
36 |
post-patch: |
34 |
post-patch: |
37 |
@${REINPLACE_CMD} -e 's|src/main\.c|${PORTNAME}|g' ${WRKSRC}/configure |
35 |
@${REINPLACE_CMD} -e 's|src/main\.c|${PORTNAME}|g ; \ |
|
|
36 |
s|0\.40\.0|${PORTVERSION}|g' ${WRKSRC}/configure |
38 |
|
37 |
|
39 |
.include <bsd.port.post.mk> |
38 |
.include <bsd.port.post.mk> |