freebsd-ports/sysutils/ucspi-unix/Makefile

49 lines
1.5 KiB
Makefile
Raw Normal View History

# Created by: Patrick Rinke <patrick@rinke-bochum.de>
# $FreeBSD$
PORTNAME= ucspi-unix
PORTVERSION= 1.0
CATEGORIES= sysutils
2016-01-03 01:41:56 +01:00
MASTER_SITES= http://untroubled.org/${PORTNAME}/archive/
MAINTAINER= araujo@FreeBSD.org
COMMENT= Unix-domain socket client-server command-line tools
LICENSE= GPLv2
BUILD_DEPENDS= ${BGLIBS_LIB}/libbg.a:devel/bglibs
USES= libtool:build localbase:ldflags
BGLIBS_INC= ${LOCALBASE}/include/bglibs
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
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
PORTDOCS= NEWS PROTOCOL README TODO
OPTIONS_DEFINE= DOCS
2014-02-05 19:26:49 +01:00
MAKE_JOBS_UNSAFE=yes
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
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
do-install:
${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/
do-install-DOCS-on:
2014-04-17 08:04:36 +02:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>