aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-04-02 06:25:14 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-04-02 06:25:14 +0000
commit5c660af9c000de74f522ea20c191e564f0e62d7f (patch)
treef3d5a30502040fbd09f01400a34bea1f0af308c2 /sysutils
parent8d7435d8797c96713fcdb92a7768dc214e8ecc8f (diff)
downloadports-5c660af9c000de74f522ea20c191e564f0e62d7f.tar.gz
ports-5c660af9c000de74f522ea20c191e564f0e62d7f.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/socklog/Makefile20
-rw-r--r--sysutils/socklog/pkg-plist3
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