- Update to 0.98.2
- Polish the Makefile PR: ports/80548 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
f3a33351b0
commit
c3d216f7dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134544
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= xmlppm
|
||||
PORTVERSION= 0.98.1
|
||||
PORTVERSION= 0.98.2
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://www.cs.cornell.edu/People/jcheney/xmlppm/
|
||||
@ -24,19 +24,18 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
||||
USE_ICONV= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
||||
MAKE_ARGS= CC="${CXX}" CFLAGS="${CXXFLAGS}" \
|
||||
CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lexpat -liconv"
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= README
|
||||
.endif
|
||||
|
||||
PLIST_FILES= bin/xmlppm bin/xmlunppm
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|^CC|#CC|g ; \
|
||||
s|^CPPFLAGS|#CPPFLAGS|g ; \
|
||||
s|^CFLAGS|#CFLAGS|g ; \
|
||||
s|$$(CC)|$$(CXX)|g ; \
|
||||
s|$$(CFLAGS)|$$(CXXFLAGS)|g' ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's|^CC|#CC|' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xmlppm ${PREFIX}/bin
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (xmlppm-0.98.1-src.tar.gz) = 242c073527ec09c70669bf2b22b692e3
|
||||
SIZE (xmlppm-0.98.1-src.tar.gz) = 38197
|
||||
MD5 (xmlppm-0.98.2-src.tar.gz) = 355dbc50b4aeaa647f77105843624ffe
|
||||
SIZE (xmlppm-0.98.2-src.tar.gz) = 40062
|
||||
|
Loading…
Reference in New Issue
Block a user