2013-07-19 17:16:31 +02:00
|
|
|
# Created by: Patrick Rinke <patrick@rinke-bochum.de>
|
2003-10-13 16:54:44 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ucspi-unix
|
2017-03-26 06:52:16 +02:00
|
|
|
PORTVERSION= 1.0
|
2003-10-13 16:54:44 +02:00
|
|
|
CATEGORIES= sysutils
|
2016-01-03 01:41:56 +01:00
|
|
|
MASTER_SITES= http://untroubled.org/${PORTNAME}/archive/
|
2003-10-13 16:54:44 +02:00
|
|
|
|
2017-03-26 06:52:16 +02:00
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
2013-07-19 17:16:31 +02:00
|
|
|
COMMENT= Unix-domain socket client-server command-line tools
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2003-10-13 16:54:44 +02:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
BUILD_DEPENDS= ${BGLIBS_LIB}/libbg.a:devel/bglibs
|
2003-10-13 16:54:44 +02:00
|
|
|
|
2017-03-26 06:52:16 +02:00
|
|
|
USES= libtool:build localbase:ldflags
|
2005-09-07 22:16:15 +02:00
|
|
|
BGLIBS_INC= ${LOCALBASE}/include/bglibs
|
|
|
|
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
|
2003-10-13 16:54:44 +02:00
|
|
|
|
2014-04-17 08:04:36 +02:00
|
|
|
PLIST_FILES= bin/unixcat bin/unixclient bin/unixserver \
|
|
|
|
man/man1/unixclient.1.gz man/man1/unixserver.1.gz
|
2005-09-07 22:16:15 +02:00
|
|
|
PORTDOCS= NEWS PROTOCOL README TODO
|
2003-10-13 17:37:15 +02:00
|
|
|
|
2013-07-19 17:16:31 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2014-02-05 19:26:49 +01:00
|
|
|
MAKE_JOBS_UNSAFE=yes
|
|
|
|
|
2013-07-19 17:16:31 +02:00
|
|
|
post-patch: .SILENT
|
2014-04-17 08:04:36 +02:00
|
|
|
${ECHO_CMD} "${STAGEDIR}${PREFIX}" > ${WRKSRC}/conf-home
|
|
|
|
${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin
|
|
|
|
${ECHO_CMD} "${STAGEDIR}${MANPREFIX}/man" > ${WRKSRC}/conf-man
|
2005-09-07 22:16:15 +02:00
|
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
2012-04-11 05:34:16 +02:00
|
|
|
${ECHO_CMD} "${CC} ${LDFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
|
2005-09-07 22:16:15 +02:00
|
|
|
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs
|
|
|
|
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
|
2003-10-13 16:54:44 +02:00
|
|
|
|
|
|
|
do-install:
|
2017-03-26 06:52:16 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/unixcat ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unixclient ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unixserver ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/unixclient.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/unixserver.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
2015-09-03 16:09:17 +02:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-04-17 08:04:36 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2005-09-07 22:16:15 +02:00
|
|
|
|
2003-10-13 16:54:44 +02:00
|
|
|
.include <bsd.port.mk>
|