- Unbreak

- Install documentation
- Sync with other untroubled.org ports I maintain
- Bump PORTREVISION
- Take maintainership
This commit is contained in:
Sergei Kolobov 2005-09-07 20:16:15 +00:00
parent a830f563f6
commit 2400fd3a28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142183
2 changed files with 24 additions and 14 deletions

View file

@ -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 <bsd.port.mk>

View file

@ -1,3 +0,0 @@
bin/unixserver
bin/unixclient
bin/unixcat