diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-07 04:35:43 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-07 04:35:43 +0800 |
commit | f7e4e06c4508fc06a375bf0722ab65a1c250ec74 (patch) | |
tree | 4a1a5dd707b00e942a6a1f45319545ebc1581f2a /comms/bforce-kst | |
parent | e409c67cc30bef2f5d32d9f4b0c9dfc7178f1fa7 (diff) | |
download | freebsd-ports-gnome-f7e4e06c4508fc06a375bf0722ab65a1c250ec74.tar.gz freebsd-ports-gnome-f7e4e06c4508fc06a375bf0722ab65a1c250ec74.tar.zst freebsd-ports-gnome-f7e4e06c4508fc06a375bf0722ab65a1c250ec74.zip |
- Add LICENSE
- Fix pkg-message handling
- Switch to options helpers
Diffstat (limited to 'comms/bforce-kst')
-rw-r--r-- | comms/bforce-kst/Makefile | 14 | ||||
-rw-r--r-- | comms/bforce-kst/files/pkg-message.in (renamed from comms/bforce-kst/pkg-message) | 2 |
2 files changed, 10 insertions, 6 deletions
diff --git a/comms/bforce-kst/Makefile b/comms/bforce-kst/Makefile index c1700976fb25..cb5500a6eedd 100644 --- a/comms/bforce-kst/Makefile +++ b/comms/bforce-kst/Makefile @@ -12,6 +12,9 @@ DISTNAME= ${PORTNAME}-0.22.8.kst7 MAINTAINER= ports@FreeBSD.org COMMENT= Simple ifcico like Fidonet technology mailer +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/../COPYING + USES= gmake GNU_CONFIGURE= yes @@ -38,6 +41,8 @@ FIXME= include/bforce.h include/util.h include/logger.h \ WRKSRC= ${WRKDIR}/${DISTNAME}/source +SUB_FILES= pkg-message + DOCS= CHANGES CHANGES.kst COPYING README README.kst OPTIONS_DEFINE= DOCS @@ -51,8 +56,6 @@ post-patch: @${REINPLACE_CMD} -e 's,log(,bf_log(,g' ${WRKSRC}/${i} .endfor -.include <bsd.port.options.mk> - do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/fido/bforce ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.conf ${STAGEDIR}${PREFIX}/etc/fido/bforce/bforce.conf.sample @@ -65,12 +68,13 @@ do-install: .for i in ${CONTRIBS} ${INSTALL_DATA} ${WRKSRC}/../contrib/${i} ${STAGEDIR}${DATADIR}/${i} .endfor - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR} ${INSTALL_PROGRAM} ${WRKSRC}/bin/bforce ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfindex ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfstat ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/nlookup ${STAGEDIR}${PREFIX}/bin - @${SED} -e 's|%%PREFIX%%|${PREFIX}|' -e 's|%%CONFIGDIR%%|etc/fido/bforce|' ${PKGMESSAGE} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/comms/bforce-kst/pkg-message b/comms/bforce-kst/files/pkg-message.in index 6dda1551e437..9a2a050b62ef 100644 --- a/comms/bforce-kst/pkg-message +++ b/comms/bforce-kst/files/pkg-message.in @@ -1,7 +1,7 @@ ************************************************************** Please don't forget to copy and edit configuration files found -in %%PREFIX%%/%%CONFIGDIR%%. +in %%PREFIX%%/etc/fido/bforce. If you using u-srif, please install lang/python |