Lines 6-18
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= c3270 |
8 |
PORTNAME= c3270 |
9 |
PORTVERSION= 3.3.2p2 |
9 |
PORTVERSION= 3.3.4 |
10 |
CATEGORIES= net |
10 |
CATEGORIES= net |
11 |
MASTER_SITES= http://x3270.bgp.nu/download/ |
11 |
MASTER_SITES= http://x3270.bgp.nu/download/ |
12 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} |
12 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} |
13 |
EXTRACT_SUFX= .tgz |
13 |
EXTRACT_SUFX= .tgz |
14 |
|
14 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= freebsd@galle.com.br |
16 |
COMMENT= Full-screen curses-based remote login to IBM mainframes |
16 |
COMMENT= Full-screen curses-based remote login to IBM mainframes |
17 |
|
17 |
|
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([0-9]\.[0-9])(\..*)/\1/} |
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([0-9]\.[0-9])(\..*)/\1/} |
Lines 25-30
Link Here
|
25 |
|
25 |
|
26 |
USE_REINPLACE= yes |
26 |
USE_REINPLACE= yes |
27 |
|
27 |
|
|
|
28 |
DOCFILES= Bugs.html \ |
29 |
Build.html \ |
30 |
FAQ.html \ |
31 |
Intro.html \ |
32 |
Lineage.html \ |
33 |
New.html \ |
34 |
README.html \ |
35 |
Wishlist.html \ |
36 |
c3270-man.html \ |
37 |
x3270-script.html \ |
38 |
x3270.xbm \ |
39 |
x3270if.html |
40 |
|
28 |
MAN1= c3270.1 \ |
41 |
MAN1= c3270.1 \ |
29 |
x3270if.1 \ |
42 |
x3270if.1 \ |
30 |
x3270-script.1 \ |
43 |
x3270-script.1 \ |
Lines 32-45
Link Here
|
32 |
MAN5= ibm_hosts.5 |
45 |
MAN5= ibm_hosts.5 |
33 |
MANCOMPRESSED= no |
46 |
MANCOMPRESSED= no |
34 |
|
47 |
|
35 |
PLIST_FILES= bin/c3270 \ |
|
|
36 |
bin/x3270if \ |
37 |
bin/pr3287 \ |
38 |
etc/x3270/ibm_hosts |
39 |
PLIST_DIRS= etc/x3270 |
40 |
|
41 |
PORTDOCS= * |
42 |
|
43 |
# c3270's ./configure script supports these. |
48 |
# c3270's ./configure script supports these. |
44 |
# Within it all options except DBCS are enabled by default. |
49 |
# Within it all options except DBCS are enabled by default. |
45 |
|
50 |
|
Lines 83-94
Link Here
|
83 |
.if defined(WITH_DBCS) && !defined(WITHOUT_DBCS) |
88 |
.if defined(WITH_DBCS) && !defined(WITHOUT_DBCS) |
84 |
CONFIGURE_ARGS+= --enable-dbcs |
89 |
CONFIGURE_ARGS+= --enable-dbcs |
85 |
BUILD_DEPENDS+= ${LOCALBASE}/include/unicode/ucnv.h:${PORTSDIR}/devel/icu2:install |
90 |
BUILD_DEPENDS+= ${LOCALBASE}/include/unicode/ucnv.h:${PORTSDIR}/devel/icu2:install |
86 |
UCM_TABLES= ibm-1027_P100-1995 \ |
91 |
PLIST_SUB+= DBCS="" |
87 |
ibm-300_P110-1997 \ |
92 |
.else |
88 |
ibm-837_P100-2000 |
93 |
PLIST_SUB+= DBCS="@comment " |
89 |
.for table_name in ${UCM_TABLES} |
|
|
90 |
PLIST_FILES+= etc/x3270/icudt28l_${table_name}.cnv |
91 |
.endfor |
92 |
.endif |
94 |
.endif |
93 |
|
95 |
|
94 |
.if defined(WITHOUT_FT) && !defined(WITH_FT) |
96 |
.if defined(WITHOUT_FT) && !defined(WITH_FT) |
Lines 123-140
Link Here
|
123 |
.endif |
125 |
.endif |
124 |
|
126 |
|
125 |
post-install: |
127 |
post-install: |
126 |
-( cd ${WRKSRC} && ${GMAKE} ${MAKE_FLAGS} Makefile install.man ) |
128 |
@( cd ${WRKSRC} && ${GMAKE} ${MAKE_FLAGS} Makefile install.man ) |
127 |
.if !defined(NOPORTDOCS) |
129 |
.if !defined(NOPORTDOCS) |
128 |
-${MKDIR} ${DOCSDIR} |
130 |
@${MKDIR} ${DOCSDIR}/html |
129 |
-${MKDIR} ${DOCSDIR}/html |
131 |
.for i in ${DOCFILES} |
130 |
.for i in ${PORTDOCS} |
132 |
${INSTALL_DATA} ${WRKSRC}/html/${i} ${DOCSDIR}/html/${i} |
131 |
-${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} |
|
|
132 |
.endfor |
133 |
.endfor |
133 |
@${ECHO_MSG} "===> Extra Documentation installed in ${DOCSDIR}/html ." |
134 |
@${ECHO_MSG} "===> Extra Documentation installed in ${DOCSDIR}/html ." |
134 |
.endif |
135 |
.endif |
135 |
|
136 |
|
136 |
post-deinstall: |
|
|
137 |
-${RMDIR} ${DOCSDIR}/html |
138 |
-${RMDIR} ${DOCSDIR} |
139 |
|
140 |
.include <bsd.port.post.mk> |
137 |
.include <bsd.port.post.mk> |