blob: 1c2a24ab7f0c0d80a6bdab0add86f8ebb17757fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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.2
CATEGORIES= japanese www perl5
MASTER_SITES= http://www.h14m.org/dist/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-pl${PORTVERSION:E}
MAINTAINER= hnsmaster@h14m.org
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>
|