From 2400fd3a2822e13a46bb0e1fd58124433d9fb74f Mon Sep 17 00:00:00 2001 From: Sergei Kolobov Date: Wed, 7 Sep 2005 20:16:15 +0000 Subject: [PATCH] - Unbreak - Install documentation - Sync with other untroubled.org ports I maintain - Bump PORTREVISION - Take maintainership --- sysutils/ucspi-unix/Makefile | 35 ++++++++++++++++++++++++----------- sysutils/ucspi-unix/pkg-plist | 3 --- 2 files changed, 24 insertions(+), 14 deletions(-) delete mode 100644 sysutils/ucspi-unix/pkg-plist diff --git a/sysutils/ucspi-unix/Makefile b/sysutils/ucspi-unix/Makefile index 81c4c8bcbb30..10f78983b62b 100644 --- a/sysutils/ucspi-unix/Makefile +++ b/sysutils/ucspi-unix/Makefile @@ -7,27 +7,40 @@ PORTNAME= ucspi-unix PORTVERSION= 0.36 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils -MASTER_SITES= http://untroubled.org/ucspi-unix/ +MASTER_SITES= http://untroubled.org/${PORTNAME}/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sergei@FreeBSD.org COMMENT= UNIX-domain socket client-server command-line tools -BUILD_DEPENDS= ${LOCALBASE}/include/bglibs/sysdeps.h:${PORTSDIR}/devel/bglibs +BUILD_DEPENDS= ${BGLIBS_LIB}/libbg.a:${PORTSDIR}/devel/bglibs -BROKEN= Does not build +BGLIBS_INC= ${LOCALBASE}/include/bglibs +BGLIBS_LIB= ${LOCALBASE}/lib/bglibs +CFLAGS+= -I${BGLIBS_INC} +LDFLAGS+= -s -L${BGLIBS_LIB} -MAN1= unixclient.1 unixserver.1 +PLIST_FILES= bin/unixcat bin/unixclient bin/unixserver +MAN1= unixclient.1 unixserver.1 +PORTDOCS= NEWS PROTOCOL README TODO post-patch: - ${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home - ${ECHO_CMD} ${CC} ${CFLAGS} -I${LOCALBASE}/include/bglibs > ${WRKSRC}/conf-cc - ${ECHO_CMD} ${CC} ${LDFLAGS} -s -L${LOCALBASE}/lib > ${WRKSRC}/conf-ld - ${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man - + ${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home + ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin + ${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man + ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc + ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld + ${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs + ${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs do-install: cd ${WRKSRC} && ./installer +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + .include diff --git a/sysutils/ucspi-unix/pkg-plist b/sysutils/ucspi-unix/pkg-plist deleted file mode 100644 index 8e9bdc0678aa..000000000000 --- a/sysutils/ucspi-unix/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/unixserver -bin/unixclient -bin/unixcat