aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2014-06-28 13:08:20 +0800
committertota <tota@FreeBSD.org>2014-06-28 13:08:20 +0800
commitba537e10cff33890a6bdca657be89184bf772d8f (patch)
tree774a68416334b47cf04822f3091471439ee25073
parent33b5fca2cb4b9f6a87ff7e0464c8a1c8dfe5dca4 (diff)
downloadfreebsd-ports-gnome-ba537e10cff33890a6bdca657be89184bf772d8f.tar.gz
freebsd-ports-gnome-ba537e10cff33890a6bdca657be89184bf772d8f.tar.zst
freebsd-ports-gnome-ba537e10cff33890a6bdca657be89184bf772d8f.zip
- Remove indefinite article from COMMENT
- Add LICENSE - Convert USE_GMAKE to USES - Support STAGEDIR * Make PORTDOCS and PORTEXAMPLES unconditional to stage - Use PLIST_FILES instead of pkg-plist - Add OPTIONS_DEFINE - Unmute INSTALL_DATA, INSTALL_MAN and INSTALL_SCRIPT - Remove Author: from pkg-descr - Replace tab with a single space after WWW: in pkg-descr
-rw-r--r--www/samidare/Makefile38
-rw-r--r--www/samidare/pkg-descr3
-rw-r--r--www/samidare/pkg-plist1
3 files changed, 17 insertions, 25 deletions
diff --git a/www/samidare/Makefile b/www/samidare/Makefile
index ed8d8b45eb97..8e3c9d488bf6 100644
--- a/www/samidare/Makefile
+++ b/www/samidare/Makefile
@@ -9,43 +9,37 @@ MASTER_SITES= http://www.a-k-r.org/${PORTNAME}/ \
${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/samidare|}
MAINTAINER= tota@FreeBSD.org
-COMMENT= A web page update checker written in Ruby
+COMMENT= Web page update checker written in Ruby
+
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
RUN_DEPENDS= ${RUBY_SITELIBDIR}/htree.rb:${PORTSDIR}/textproc/ruby-htree \
${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv
-USES= gmake
+USES= gmake
USE_RUBY= yes
-RUBY_REQUIRE= Ruby >= 181
RUBY_SHEBANG_FILES= main.rb rb-link rb2rm rm2rb
PORTDOCS= README README.ja
PORTEXAMPLES= config.yml t.latest.html
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+ALL_TARGET= ${PORTNAME}
-.if !defined(RUBY_PROVIDED)
-IGNORE= requires Ruby 1.8.1 or later
-.endif
+PLIST_FILES= bin/samidare man/man1/samidare.1.gz
-ALL_TARGET= ${PORTNAME}
-MAN1= ${PORTNAME}.1
+OPTIONS_DEFINE= DOCS EXAMPLES
post-build:
@${REINPLACE_CMD} -e '1d' ${BUILD_WRKSRC}/${PORTNAME}
@cd ${BUILD_WRKSRC}; ${MV} ${PORTNAME}.man ${PORTNAME}.1
do-install:
- @${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/${PORTNAME} ${PREFIX}/bin
- @${INSTALL_MAN} ${INSTALL_WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- @cd ${INSTALL_WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
-.endif
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @cd ${INSTALL_WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
-
-.include <bsd.port.post.mk>
+ ${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${INSTALL_WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${INSTALL_WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${INSTALL_WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
diff --git a/www/samidare/pkg-descr b/www/samidare/pkg-descr
index bd38c210920a..21ceb6be89d1 100644
--- a/www/samidare/pkg-descr
+++ b/www/samidare/pkg-descr
@@ -7,5 +7,4 @@ Features:
* generate/read LIRS.
* check page content addition to Last-Modified.
-Author: Tanaka Akira <akr@fsij.org>
-WWW: http://www.a-k-r.org/samidare/
+WWW: http://www.a-k-r.org/samidare/
diff --git a/www/samidare/pkg-plist b/www/samidare/pkg-plist
deleted file mode 100644
index 42fa588b029f..000000000000
--- a/www/samidare/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/samidare