freebsd-ports/japanese/hns/Makefile
Yen-Ming Lee 5c241ef5c7 update MASTER_SITES
PR:		55915
Submitted by:	HOTARU-YA <hotaru@tail.net>
2003-08-29 01:05:40 +00:00

35 lines
1.1 KiB
Makefile

# New ports collection makefile for: hns
# Date created: 10 Jun 1999
# Whom: Hyper NIKKI System Project <hnsmaster@h14m.org>
#
# $FreeBSD$
#
PORTNAME= hns
PORTVERSION= 2.10.3
CATEGORIES= japanese www perl5
MASTER_SITES= http://downloads.sourceforge.jp/h14m/3249/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-pl${PORTVERSION:E}
MAINTAINER= hnsmaster@h14m.org
COMMENT= Hyper NIKKI System, a CGI system for Electric Diary Interchange
USE_PERL5= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}-pl${PORTVERSION:E}
do-install:
@if [ -d ${DATADIR} ]; then ${RM} -rf ${DATADIR}; fi
${MKDIR} ${DATADIR}
${CP} -pR ${WRKSRC}/ ${DATADIR}
${CHOWN} -R 0:0 ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/hns-setup ${PREFIX}/bin/hns-setup
${INSTALL_SCRIPT} ${WRKSRC}/contrib/todayhns/todayhns ${PREFIX}/bin/todayhns
post-install:
@cd ${WRKSRC} && find . -type f -o -type l | sed 's,^\.,share/${PORTNAME},' | sort >> ${TMPPLIST}
@cd ${WRKSRC} && find . -type d | sed 's,^\.,@dirrm share/${PORTNAME},' | sort -r >> ${TMPPLIST}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>