diff options
Diffstat (limited to 'sysutils/socklog/Makefile')
-rw-r--r-- | sysutils/socklog/Makefile | 20 |
1 files changed, 13 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> |