aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-07 22:47:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-07 22:47:36 +0800
commitacc2a70513707e13ed52c753b143b303c765a79c (patch)
treed480c8bc76214d7028c6c09643c4e337c4ffe85a /www
parent8a47ebfb2a6981fda537064511dde47fbbf515b6 (diff)
downloadfreebsd-ports-gnome-acc2a70513707e13ed52c753b143b303c765a79c.tar.gz
freebsd-ports-gnome-acc2a70513707e13ed52c753b143b303c765a79c.tar.zst
freebsd-ports-gnome-acc2a70513707e13ed52c753b143b303c765a79c.zip
- Style fixes
- Add LICENSE - Unsilence installation - Drop @dirrm* from plist
Diffstat (limited to 'www')
-rw-r--r--www/rsstool/Makefile14
-rw-r--r--www/rsstool/pkg-plist6
2 files changed, 8 insertions, 12 deletions
diff --git a/www/rsstool/Makefile b/www/rsstool/Makefile
index 7700fa82acf4..3fa006e6a1f7 100644
--- a/www/rsstool/Makefile
+++ b/www/rsstool/Makefile
@@ -2,15 +2,17 @@
# $FreeBSD$
PORTNAME= rsstool
-DISTVERSION= 1.0.0
+PORTVERSION= 1.0.0
PORTREVISION= 1
-DISTVERSIONSUFFIX= -src
CATEGORIES= www
MASTER_SITES= BERLIOS
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Read, parse, merge and write RSS and Atom feeds
+LICENSE= GPLv2 # or later
+
USES= iconv gmake
USE_GNOME= libxml2
BUILD_WRKSRC= ${WRKSRC}/src
@@ -20,11 +22,11 @@ HAS_CONFIGURE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
- @cd ${BUILD_WRKSRC}/&&${REINPLACE_CMD} -e 's|gcc|${CC}|' Makefile
+ @cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e 's|gcc|${CC}|' Makefile
do-install:
- @${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- @cd ${WRKSRC}/&&${COPYTREE_SHARE} "*html images" ${STAGEDIR}${DOCSDIR}/
- @cd ${WRKSRC}/contrib/&&${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "*html images" ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>
diff --git a/www/rsstool/pkg-plist b/www/rsstool/pkg-plist
index 8c03e6899277..59274284cd58 100644
--- a/www/rsstool/pkg-plist
+++ b/www/rsstool/pkg-plist
@@ -19,9 +19,3 @@ bin/rsstool
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsstool_php_lite/htdocs/config.php
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsstool_php_lite/htdocs/index.php
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsstool_php_lite/htdocs/sql.php
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/mail
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/rsstool_php_lite/htdocs
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/rsstool_php_lite
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%