diff options
author | adamw <adamw@FreeBSD.org> | 2003-04-02 06:25:14 +0000 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2003-04-02 06:25:14 +0000 |
commit | cede460bbb1f2f72d2dd1df8830f40ff2e303829 (patch) | |
tree | e8b1e74d86e1ec9c491f164ef7a24d059d8e938a | |
parent | ee917c13b7b78ecb882f2911e8ad32dbf305452b (diff) | |
download | FreeBSD-ports-cede460bbb1f2f72d2dd1df8830f40ff2e303829.zip FreeBSD-ports-cede460bbb1f2f72d2dd1df8830f40ff2e303829.tar.gz |
From PR:
- Use socklog's native build mechanism
- Allow user to override CC and CFLAGS settings
- Install additional documentation (note: COPYING is not a copy of GPL,
but a 3-clause BSD-type license)
- Bump PORTREVISION due to changed package
PR: 50518
Submitted by: Sergei Kolobov <sergei@kolobov.com> (maintainer)
-rw-r--r-- | sysutils/socklog/Makefile | 20 | ||||
-rw-r--r-- | sysutils/socklog/pkg-plist | 3 |
2 files changed, 16 insertions, 7 deletions
diff --git a/sysutils/socklog/Makefile b/sysutils/socklog/Makefile index 48b0979..adf020d 100644 --- a/sysutils/socklog/Makefile +++ b/sysutils/socklog/Makefile @@ -7,27 +7,33 @@ PORTNAME= socklog PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= sysutils net MASTER_SITES= http://smarden.org/socklog/ MAINTAINER= sergei@kolobov.com COMMENT= Small and secure replacement for syslogd -WRKSRC= ${WRKDIR}/admin/${DISTNAME}/src +WRKSRC= ${WRKDIR}/admin/${DISTNAME} ALL_TARGET= default -PROGS= socklog-conf socklog tryto uncat MAN1= tryto.1 uncat.1 MAN8= socklog-conf.8 socklog.8 +DOCS= package/CHANGES package/COPYING package/README doc/*.html +do-configure: + ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc + +do-build: + cd ${WRKSRC} && package/compile + do-install: - cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGS} ${PREFIX}/bin - @${MKDIR} ${MANPREFIX}/man/man1 ${MANPREFIX}/man/man8 - cd ${WRKSRC}/../man && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 - cd ${WRKSRC}/../man && ${INSTALL_MAN} ${MAN8} ${MANPREFIX}/man/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/*.8 ${MANPREFIX}/man/man8 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/../doc/*.html ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/sysutils/socklog/pkg-plist b/sysutils/socklog/pkg-plist index 82a2be6..91b8973 100644 --- a/sysutils/socklog/pkg-plist +++ b/sysutils/socklog/pkg-plist @@ -2,6 +2,9 @@ bin/socklog-conf bin/socklog bin/tryto bin/uncat +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/benefits.html %%PORTDOCS%%%%DOCSDIR%%/configuration.html %%PORTDOCS%%%%DOCSDIR%%/examples.html |