View | Details | Raw Unified | Return to bug 69491
Collapse All | Expand All

(-)/home/hsn/hacked/ltxml/Makefile (-6 / +18 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	ltxml
8
PORTNAME=	ltxml
9
PORTVERSION=	1.2.5
9
PORTVERSION=	1.2.6
10
PORTREVISION=	3
11
CATEGORIES=	textproc
10
CATEGORIES=	textproc
12
MASTER_SITES=	ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/
11
MASTER_SITES=	ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/
13
12
Lines 20-25 Link Here
20
USE_GMAKE=	yes
19
USE_GMAKE=	yes
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
CONFIGURE_ARGS=	--with-zlib=/usr --enable-multi-byte
21
CONFIGURE_ARGS=	--with-zlib=/usr --enable-multi-byte
22
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
23
23
24
MAN1=		ltxml.1 xmlnorm.1 pesis.1 sgcount.1 sggrep.1 sgmlsb.1 \
24
MAN1=		ltxml.1 xmlnorm.1 pesis.1 sgcount.1 sggrep.1 sgmlsb.1 \
25
		sgmlseg.1 sgmltoken.1 sgmltrans.1 sgrpg.1 textonly.1 \
25
		sgmlseg.1 sgmltoken.1 sgmltrans.1 sgrpg.1 textonly.1 \
Lines 30-42 Link Here
30
		sggrep sgmlsb sgmlseg sgmltrans sgrpg sgsort simple simpleq \
30
		sggrep sgmlsb sgmlseg sgmltrans sgrpg sgsort simple simpleq \
31
		textonly unknit xmlnorm
31
		textonly unknit xmlnorm
32
32
33
post-patch:
33
.include <bsd.port.pre.mk>
34
	@${PERL} -pi -e 's|CFLAGS=.*$$|CFLAGS=\$$CFLAGS|g ; \
34
.ifdef WITH_OPTIMIZED_CFLAGS
35
		 s|CXXFLAGS=.*$$|CXXFLAGS=\$$CXXFLAGS|g' ${WRKSRC}/configure
35
CFLAGS+=	-Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3
36
.endif
37
38
pre-everything::
39
.ifndef(WITH_OPTIMIZED_CFLAGS)
40
	@${ECHO_MSG} '===>'
41
	@${ECHO_MSG} '===> You can enable extra optimizations by defining WITH_O PTIMIZED_CFLAGS'
42
	@${ECHO_MSG} "===> For example, 'make WITH_OPTIMIZED_CFLAGS=yes'"
43
.endif
36
44
37
post-install:
45
post-install:
38
.for file in ${PROGRAMS:S/sgmlseg//}
46
.for file in ${PROGRAMS:S/sgmlseg//}
39
	${STRIP_CMD} ${PREFIX}/bin/${file}
47
	${STRIP_CMD} ${PREFIX}/bin/${file}
40
.endfor
48
.endfor
41
49
42
.include <bsd.port.mk>
50
post-patch:
51
	@${PERL} -pi -e 's|CFLAGS=.*$$|CFLAGS=\$$CFLAGS|g ; \
52
		 s|CXXFLAGS=.*$$|CXXFLAGS=\$$CXXFLAGS|g' ${WRKSRC}/configure
53
54
.include <bsd.port.post.mk>
(-)/home/hsn/hacked/ltxml/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (ltxml-1.2.5.tar.gz) = 7aa37556dc9b532013c3bf9698e7d630
1
MD5 (ltxml-1.2.6.tar.gz) = e36d870a1ca025805eddc8048666db7d
2
SIZE (ltxml-1.2.5.tar.gz) = 1081135
2
SIZE (ltxml-1.2.6.tar.gz) = 1144896
(-)/home/hsn/hacked/ltxml/pkg-plist (+2 lines)
Lines 43-48 Link Here
43
include/ltxml12/sys/lt-sstring.h
43
include/ltxml12/sys/lt-sstring.h
44
include/ltxml12/sys/lt-umalloc.h
44
include/ltxml12/sys/lt-umalloc.h
45
include/ltxml12/sys/namespaces.h
45
include/ltxml12/sys/namespaces.h
46
include/ltxml12/sys/nf16check.h
47
include/ltxml12/sys/nf16data.h
46
include/ltxml12/sys/nsl-ibit.h
48
include/ltxml12/sys/nsl-ibit.h
47
include/ltxml12/sys/nsl-stack.h
49
include/ltxml12/sys/nsl-stack.h
48
include/ltxml12/sys/nslfile.h
50
include/ltxml12/sys/nslfile.h

Return to bug 69491