aboutsummaryrefslogtreecommitdiff
path: root/japanese/hns
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-17 19:38:44 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-17 19:38:44 +0000
commitef24ea05949ca74a199de8cfdfac92738beda16f (patch)
tree8537762a88a72adb1a89dbe3fce9728429ac0cd1 /japanese/hns
parentef191c9378574d26dd23e41c4c9eff4c0e52177c (diff)
downloadports-ef24ea05949ca74a199de8cfdfac92738beda16f.tar.gz
ports-ef24ea05949ca74a199de8cfdfac92738beda16f.zip
Notes
Diffstat (limited to 'japanese/hns')
-rw-r--r--japanese/hns/Makefile23
-rw-r--r--japanese/hns/pkg-plist3
2 files changed, 8 insertions, 18 deletions
diff --git a/japanese/hns/Makefile b/japanese/hns/Makefile
index d7e6113ad5f4..08b5959086ca 100644
--- a/japanese/hns/Makefile
+++ b/japanese/hns/Makefile
@@ -13,21 +13,14 @@ COMMENT= Hyper NIKKI System, a CGI system for Electric Diary Interchange
USES= perl5
NO_BUILD= yes
-NO_STAGE= yes
-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
+PLIST_FILES= bin/hns-setup bin/todayhns
+PORTDATA= *
-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}
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${CP} -pR ${WRKSRC}/ ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/hns-setup ${STAGEDIR}${PREFIX}/bin/hns-setup
+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/todayhns/todayhns \
+ ${STAGEDIR}${PREFIX}/bin/todayhns
.include <bsd.port.mk>
diff --git a/japanese/hns/pkg-plist b/japanese/hns/pkg-plist
deleted file mode 100644
index c53a7b5ad1be..000000000000
--- a/japanese/hns/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/hns-setup
-bin/todayhns
-@comment an automatically generated list follows: