Lines 16-22
Link Here
|
16 |
BUILD_DEPENDS= libwww-config:${PORTSDIR}/www/libwww \ |
16 |
BUILD_DEPENDS= libwww-config:${PORTSDIR}/www/libwww \ |
17 |
${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget |
17 |
${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget |
18 |
|
18 |
|
19 |
BROKEN= Needs to be converted to use OPTIONS instead of home-grown configure script |
19 |
#BROKEN= Needs to be converted to use OPTIONS instead of home-grown configure script |
20 |
|
20 |
|
21 |
MAN1= jigdo-file.1 jigdo-lite.1 jigdo-mirror.1 |
21 |
MAN1= jigdo-file.1 jigdo-lite.1 jigdo-mirror.1 |
22 |
|
22 |
|
Lines 26-34
Link Here
|
26 |
CONFIGURE_ARGS= --without-libdb --disable-nls --without-gui |
26 |
CONFIGURE_ARGS= --without-libdb --disable-nls --without-gui |
27 |
USE_GMAKE= yes |
27 |
USE_GMAKE= yes |
28 |
|
28 |
|
29 |
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ |
29 |
OPTIONS= GUI "Build the gtk2 gui" off |
30 |
TOUCH="${TOUCH}" \ |
30 |
OPTIONS+= DB3 "Build with BDB3 support" on |
31 |
MKDIR="${MKDIR}" \ |
31 |
OPTIONS+= NLS "Internationalization support" off |
32 |
|
32 |
|
33 |
.include <bsd.port.pre.mk> |
33 |
.include <bsd.port.pre.mk> |
34 |
|
34 |
|
Lines 36-52
Link Here
|
36 |
NOT_FOR_ARCHS+= alpha |
36 |
NOT_FOR_ARCHS+= alpha |
37 |
.endif |
37 |
.endif |
38 |
|
38 |
|
39 |
pre-fetch: |
39 |
.ifdef(WITH_GUI) |
40 |
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.jigdo |
40 |
CONFIGURE_ARGS+= --with-gui |
41 |
|
41 |
LIB_DEPENDS+= gtk-x11-2.0:\${PORTSDIR}/x11-toolkits/gtk20 |
42 |
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) |
42 |
MAN1+= jigdo.1 |
43 |
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" |
43 |
PLIST_SUB+= SUB_GUI="" |
|
|
44 |
.else |
45 |
PLIST_SUB+= SUB_GUI="@comment " |
46 |
.endif |
47 |
.ifdef(WITH_DB3) |
48 |
CONFIGURE_ARGS+= --with-libdb=-ldb3 |
49 |
CONFIGURE_ENV+= CPPFLAGS=-I\${LOCALBASE}/include/db3 \ |
50 |
LIBS=-L\${LOCALBASE}/lib \ |
51 |
LDFLAGS=-ldb3 |
52 |
USE_BDB= 3 |
53 |
.endif |
54 |
.ifdef(WITH_NLS) |
55 |
CONFIGURE_ARGS+= --enable-nls=${LOCALBASE}/include |
44 |
.endif |
56 |
.endif |
45 |
|
57 |
|
46 |
post-install: |
58 |
post-install: |
47 |
@${STRIP_CMD} ${PREFIX}/bin/jigdo-file |
59 |
@${STRIP_CMD} ${PREFIX}/bin/jigdo-file |
48 |
|
|
|
49 |
post-clean: |
50 |
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc |
51 |
|
60 |
|
52 |
.include <bsd.port.post.mk> |
61 |
.include <bsd.port.post.mk> |