1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

- Update to 1.0.0rc2

- Respect CC
- Install docs and examples
This commit is contained in:
Andrew Pantyukhin 2007-07-24 14:33:43 +00:00
parent cc5b3ad300
commit e963ac6d93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196214
2 changed files with 17 additions and 7 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= rsstool
DISTVERSION= 1.0.0rc1
DISTVERSION= 1.0.0rc2
DISTVERSIONSUFFIX= -src
CATEGORIES= www
MASTER_SITES= BERLIOS CENKES
@ -17,14 +17,24 @@ COMMENT= Read, parse, merge and write RSS and Atom feeds
USE_ICONV= yes
USE_GNOME= libxml2
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
BUILD_WRKSRC= ${WRKSRC}/src
CONFIGURE_WRKSRC= ${WRKSRC}/src
HAS_CONFIGURE= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTEXAMPLES= *
post-patch:
@${REINPLACE_CMD} -e '/^CC=/d;/^CFLAGS=/s|-O3||;/^CFLAGS=/s|=|+=|' ${WRKSRC}/Makefile
@cd ${BUILD_WRKSRC}/&&${REINPLACE_CMD} -e '/^CFLAGS=/s|-O3||;\
/^CFLAGS=/s|=|+=|;s|gcc|${CC}|' Makefile configure.in
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.ifndef NOPORTDOCS
@cd ${WRKSRC}/&&${COPYTREE_SHARE} "*html images" ${DOCSDIR}/
.endif
.ifndef NOPORTEXAMPLES
@cd ${WRKSRC}/contrib/&&${COPYTREE_SHARE} . ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (rsstool-1.0.0rc1-src.tar.gz) = 703a2edde3e6ec0fad635d1703feb55c
SHA256 (rsstool-1.0.0rc1-src.tar.gz) = 0acd077479568c3d0517ca78538fca8a0840a70063270cff90f06f973b2d4274
SIZE (rsstool-1.0.0rc1-src.tar.gz) = 111610
MD5 (rsstool-1.0.0rc2-src.tar.gz) = da6895dd9c53e1c9e863013f6e303cb2
SHA256 (rsstool-1.0.0rc2-src.tar.gz) = 396ad9037e0fcb045928bce6e6cbff674483a2be992ee3cd7ff5c7e24d4bfab2
SIZE (rsstool-1.0.0rc2-src.tar.gz) = 115012