1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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
This commit is contained in:
TAKATSU Tomonari 2014-06-28 05:08:20 +00:00
parent 39adf92b2a
commit 3efe2b839a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359658
3 changed files with 17 additions and 25 deletions

View File

@ -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>
.if !defined(RUBY_PROVIDED)
IGNORE= requires Ruby 1.8.1 or later
.endif
ALL_TARGET= ${PORTNAME}
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/samidare man/man1/samidare.1.gz
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
${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.post.mk>
.include <bsd.port.mk>

View File

@ -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/

View File

@ -1 +0,0 @@
bin/samidare