aboutsummaryrefslogtreecommitdiffstats
path: root/www/samidare
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2009-06-06 23:02:58 +0800
committertota <tota@FreeBSD.org>2009-06-06 23:02:58 +0800
commitaa83d940f7f96b2d9b6d085ade99e01227b4f484 (patch)
tree0d965615d4895cbe1a17caf054c31bca45882e3f /www/samidare
parent77b9b5acfe8474771e7cfa04a9895f4600b08747 (diff)
downloadfreebsd-ports-gnome-aa83d940f7f96b2d9b6d085ade99e01227b4f484.tar.gz
freebsd-ports-gnome-aa83d940f7f96b2d9b6d085ade99e01227b4f484.tar.zst
freebsd-ports-gnome-aa83d940f7f96b2d9b6d085ade99e01227b4f484.zip
- Add a missing dependency on ruby-iconv
- Install samidare.1 manpage - Make portlint happier - Change MAINTAINER address from tota@rtfm.jp to tota@FreeBSD.org Approved by: maho (mentor)
Diffstat (limited to 'www/samidare')
-rw-r--r--www/samidare/Makefile27
1 files changed, 14 insertions, 13 deletions
diff --git a/www/samidare/Makefile b/www/samidare/Makefile
index aec4e635ab2b..4c8227f42f0c 100644
--- a/www/samidare/Makefile
+++ b/www/samidare/Makefile
@@ -7,13 +7,15 @@
PORTNAME= samidare
PORTVERSION= 0.7
+PORTREVISION= 1
CATEGORIES= www ruby
-MASTER_SITES= http://www.a-k-r.org./samidare/
+MASTER_SITES= http://www.a-k-r.org/${PORTNAME}/
-MAINTAINER= tota@rtfm.jp
+MAINTAINER= tota@FreeBSD.org
COMMENT= A web page update checker written in Ruby
-RUN_DEPENDS= ${RUBY_SITELIBDIR}/htree.rb:${PORTSDIR}/textproc/ruby-htree
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/htree.rb:${PORTSDIR}/textproc/ruby-htree \
+ ${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv
USE_GMAKE= yes
USE_RUBY= yes
@@ -23,8 +25,6 @@ RUBY_SHEBANG_FILES= main.rb rb-link rb2rm rm2rb
PORTDOCS= README README.ja
PORTEXAMPLES= config.yml t.latest.html
-UNIQ= /usr/bin/uniq
-
.include <bsd.port.pre.mk>
.if !defined(RUBY_PROVIDED)
@@ -32,21 +32,22 @@ IGNORE= requires Ruby 1.8.1 or later
.endif
ALL_TARGET= ${PORTNAME}
+MAN1= ${PORTNAME}.1
post-build:
- cd ${BUILD_WRKSRC} && \
- ${MV} samidare samidare.orig && \
- ${UNIQ} samidare.orig samidare
+ @${REINPLACE_CMD} -e '1d' ${BUILD_WRKSRC}/${PORTNAME}
+ @cd ${BUILD_WRKSRC}; ${MV} ${PORTNAME}.man ${PORTNAME}.1
do-install:
- cd ${INSTALL_WRKSRC}; ${INSTALL_SCRIPT} ${PORTNAME} ${PREFIX}/bin
+ @${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}
+ @${MKDIR} ${EXAMPLESDIR}
+ @cd ${INSTALL_WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${INSTALL_WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+ @cd ${INSTALL_WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>