diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-04-02 06:25:14 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-04-02 06:25:14 +0000 |
commit | 5c660af9c000de74f522ea20c191e564f0e62d7f (patch) | |
tree | f3d5a30502040fbd09f01400a34bea1f0af308c2 /sysutils | |
parent | Update to 1.0.3. (diff) |
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)
Notes
Notes:
svn path=/head/; revision=77948
Diffstat (limited to 'sysutils')
-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 48b09799db3d..adf020d0f409 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 82a2be66e53a..91b897359730 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 |