aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-07-24 14:33:43 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-07-24 14:33:43 +0000
commite963ac6d93fcacdb0fa00a6cb9d8c8ac9913c0f4 (patch)
treebfdda5a360861f724251d962d44d9880759bc706 /www
parentcc5b3ad30089cef80938151fe8ae75b813c804db (diff)
downloadports-e963ac6d93fcacdb0fa00a6cb9d8c8ac9913c0f4.tar.gz
ports-e963ac6d93fcacdb0fa00a6cb9d8c8ac9913c0f4.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/rsstool/Makefile18
-rw-r--r--www/rsstool/distinfo6
2 files changed, 17 insertions, 7 deletions
diff --git a/www/rsstool/Makefile b/www/rsstool/Makefile
index 0a61b1593b4d..b51487849890 100644
--- a/www/rsstool/Makefile
+++ b/www/rsstool/Makefile
@@ -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>
diff --git a/www/rsstool/distinfo b/www/rsstool/distinfo
index dc49238b4a7c..54bb684094f6 100644
--- a/www/rsstool/distinfo
+++ b/www/rsstool/distinfo
@@ -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