Lines 6-36
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= fhist |
8 |
PORTNAME= fhist |
9 |
PORTVERSION= 1.16 |
9 |
PORTVERSION= 1.17 |
10 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= SF |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
|
13 |
|
12 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= Utilities to maintain file history, do file comparisions and merges |
14 |
COMMENT= Utilities to maintain file history, do file comparisions and merges |
16 |
|
15 |
|
17 |
.include <bsd.port.pre.mk> |
16 |
OPTIONS= NLS "Use Native Language Support" on |
|
|
17 |
|
18 |
USE_GNOME= gnometarget |
19 |
GNU_CONFIGURE= yes |
20 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
21 |
ALL_TARGET= binaries po |
18 |
|
22 |
|
19 |
MAN1= fcomp.1 fhist.1 fmerge.1 |
23 |
MAN1= fcomp.1 fhist.1 fmerge.1 |
20 |
ALL_TARGET= binaries |
24 |
PLIST_FILES= bin/fcomp bin/fhist bin/fmerge |
21 |
INSTALL_TARGET= install-bin |
|
|
22 |
|
25 |
|
23 |
GNU_CONFIGURE= yes |
26 |
CFLAGS+= -I${LOCALBASE}/include |
24 |
CONFIGURE_ARGS= --includedir=${PREFIX}/include |
27 |
CPPFLAGS= -I${LOCALBASE}/include |
|
|
28 |
LDFLAGS= -L${LOCALBASE}/lib |
29 |
|
30 |
.include <bsd.port.pre.mk> |
31 |
|
32 |
.if defined(WITHOUT_NLS) |
33 |
CONFIGURE_ARGS+= ac_cv_lib_intl_main=no |
34 |
.else |
35 |
USE_GETTEXT= yes |
36 |
PLIST_FILES+= share/locale/en/LC_MESSAGES/fcomp.mo \ |
37 |
share/locale/en/LC_MESSAGES/fhist.mo \ |
38 |
share/locale/en/LC_MESSAGES/fmerge.mo |
39 |
.endif |
25 |
|
40 |
|
26 |
post-extract: |
41 |
post-extract: |
27 |
cd ${WRKSRC}/lib/en/man1 && ${LN} -s ${WRKSRC}/etc/*.so . |
42 |
cd ${WRKSRC}/lib/en/man1 && ${LN} -s ${WRKSRC}/etc/*.so . |
28 |
|
43 |
|
29 |
post-install: |
44 |
do-install: |
30 |
.for file in fhist fcomp fmerge |
45 |
.for file in fhist fcomp fmerge |
31 |
${STRIP_CMD} ${PREFIX}/bin/${file} |
46 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/bin/${file} |
32 |
(cd ${WRKSRC}/lib/en/man1; soelim ${file}.1 > tmp; \ |
47 |
(cd ${WRKSRC}/lib/en/man1; soelim ${file}.1 > tmp; \ |
33 |
${INSTALL_MAN} tmp ${PREFIX}/man/man1/${file}.1) |
48 |
${INSTALL_MAN} tmp ${PREFIX}/man/man1/${file}.1) |
|
|
49 |
.if !defined(WITHOUT_NLS) |
50 |
@${MKDIR} ${PREFIX}/share/locale/en/LC_MESSAGES |
51 |
${INSTALL_DATA} ${WRKSRC}/lib/en/LC_MESSAGES/${file}.mo \ |
52 |
${PREFIX}/share/locale/en/LC_MESSAGES/${file}.mo |
53 |
.endif |
34 |
.endfor |
54 |
.endfor |
35 |
|
55 |
|
36 |
.include <bsd.port.post.mk> |
56 |
.include <bsd.port.post.mk> |