Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= ap-utils |
8 |
PORTNAME= ap-utils |
9 |
PORTVERSION= 1.4 |
9 |
PORTVERSION= 1.4.1 |
10 |
CATEGORIES= net-mgmt |
10 |
CATEGORIES= net-mgmt |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 17-26
Link Here
|
17 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
18 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
18 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
19 |
USE_BZIP2= yes |
19 |
USE_BZIP2= yes |
20 |
USE_GETTEXT= yes |
|
|
21 |
USE_REINPLACE= yes |
20 |
USE_REINPLACE= yes |
22 |
CONFIGURE_ENV= LDFLAGS="-lintl -L${LOCALBASE}/lib" |
21 |
CONFIGURE_ENV= LDFLAGS="-lintl -L${LOCALBASE}/lib" |
23 |
MAN8= ap-trapd.8 ap-mrtg.8 ap-config.8 |
22 |
MAN8= ap-trapd.8 ap-mrtg.8 ap-config.8 |
|
|
23 |
|
24 |
.if !defined(WITHOUT_NLS) |
25 |
USE_GETTEXT= yes |
26 |
CONFIGURE_ARGS+= --enable-nls |
27 |
PLIST_FILES= share/locale/fr/LC_MESSAGES/ap-utils.mo share/locale/nl/LC_MESSAGES/ap-utils.mo \ |
28 |
share/locale/pl/LC_MESSAGES/ap-utils.mo share/locale/ro/LC_MESSAGES/ap-utils.mo \ |
29 |
share/locale/uk/LC_MESSAGES/ap-utils.mo |
30 |
.else |
31 |
CONFIGURE_ARGS+= --disable-nls |
32 |
.endif |
24 |
|
33 |
|
25 |
post-patch: |
34 |
post-patch: |
26 |
@${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure |
35 |
@${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure |