summaryrefslogtreecommitdiffstats
path: root/sysutils/ucspi-unix
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2005-09-07 20:16:15 +0000
committersergei <sergei@FreeBSD.org>2005-09-07 20:16:15 +0000
commit529b5123a8b74c3f9a1d46b4d33cfcebe649329f (patch)
treef904740f83993feeb76304ba2317701b482de150 /sysutils/ucspi-unix
parent27948532b67b9fd75323fa9202b1936262313329 (diff)
downloadFreeBSD-ports-529b5123a8b74c3f9a1d46b4d33cfcebe649329f.zip
FreeBSD-ports-529b5123a8b74c3f9a1d46b4d33cfcebe649329f.tar.gz
- Unbreak
- Install documentation - Sync with other untroubled.org ports I maintain - Bump PORTREVISION - Take maintainership
Diffstat (limited to 'sysutils/ucspi-unix')
-rw-r--r--sysutils/ucspi-unix/Makefile35
-rw-r--r--sysutils/ucspi-unix/pkg-plist3
2 files changed, 24 insertions, 14 deletions
diff --git a/sysutils/ucspi-unix/Makefile b/sysutils/ucspi-unix/Makefile
index 81c4c8b..10f7898 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 <bsd.port.mk>
diff --git a/sysutils/ucspi-unix/pkg-plist b/sysutils/ucspi-unix/pkg-plist
deleted file mode 100644
index 8e9bdc0..0000000
--- a/sysutils/ucspi-unix/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/unixserver
-bin/unixclient
-bin/unixcat
OpenPOWER on IntegriCloud