Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= duff |
8 |
PORTNAME= duff |
9 |
PORTVERSION= 0.4 |
9 |
PORTVERSION= 0.5 |
10 |
CATEGORIES= sysutils |
10 |
CATEGORIES= sysutils |
11 |
MASTER_SITES= SF |
11 |
MASTER_SITES= SF |
12 |
|
12 |
|
Lines 17-28
Link Here
|
17 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
18 |
MAKE_JOBS_SAFE= yes |
18 |
MAKE_JOBS_SAFE= yes |
19 |
|
19 |
|
|
|
20 |
CPPFLAGS+= -I${LOCALBASE}/include |
21 |
LDFLAGS+= -L${LOCALBASE}/lib |
22 |
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" |
23 |
|
20 |
MAN1= duff.1 |
24 |
MAN1= duff.1 |
21 |
PLIST_FILES= bin/duff \ |
25 |
|
22 |
share/duff/join-duplicates.sh |
26 |
OPTIONS= NLS "Native Language Support" on |
23 |
PLIST_DIRS= share/duff |
27 |
|
|
|
28 |
PORTDOCS= README.SHA |
29 |
|
30 |
.include <bsd.port.options.mk> |
31 |
|
32 |
.if !defined(WITHOUT_NLS) |
33 |
USE_GETTEXT= yes |
34 |
PLIST_SUB= NLS="" |
35 |
.else |
36 |
CONFIGURE_ARGS+= --disable-nls |
37 |
PLIST_SUB= NLS="@comment " |
38 |
.endif |
24 |
|
39 |
|
25 |
post-patch: |
40 |
post-patch: |
26 |
${CHMOD} +x ${WRKSRC}/install-sh |
41 |
.if defined(NOPORTDOCS) |
|
|
42 |
@${REINPLACE_CMD} '/^install-data-am:/s/install-dist_docDATA//' \ |
43 |
${WRKSRC}/Makefile.in |
44 |
.endif |
27 |
|
45 |
|
28 |
.include <bsd.port.mk> |
46 |
.include <bsd.port.mk> |