7110bb1f60
sourceforge.jp is renamed to osdn.jp. However its mirror sites are not ready for osdn.jp.
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2015/06/29 11:06:49 ryoon Exp $
|
|
|
|
DISTNAME= amrita-1.0.2
|
|
PKGREVISION= 2
|
|
CATEGORIES= textproc ruby www
|
|
MASTER_SITES= ${MASTER_SITE_OSDN:=amrita/10939/}
|
|
|
|
MAINTAINER= taca@NetBSD.org
|
|
HOMEPAGE= http://amrita.osdn.jp/
|
|
COMMENT= HTML/XHTML template library for Ruby
|
|
LICENSE= gnu-gpl-v2 OR ruby-license
|
|
|
|
CONFLICTS+= ruby[1-9][0-9]-amrita-*
|
|
|
|
NO_BUILD= yes
|
|
DOCS= ChangeLog README README_ja
|
|
REPLACE_RUBY= bin/ams bin/amshandler bin/amx
|
|
USE_TOOLS= pax
|
|
|
|
USE_RUBY_SETUP= yes
|
|
USE_RUBY_SETUP_PKG= yes
|
|
INSTALLATION_DIRS= bin ${RUBY_DOC}/amrita ${RUBY_EG}/amrita \
|
|
${RUBY_VENDORLIB}
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name '.cvsignore' -exec ${RM} -f {} \;
|
|
|
|
post-install:
|
|
.for f in ${REPLACE_RUBY}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin
|
|
.endfor
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/amrita
|
|
.endfor
|
|
cd ${WRKSRC}/docs; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_DOC}/amrita
|
|
cd ${WRKSRC}/sample; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}/amrita
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|