summaryrefslogtreecommitdiffstats
path: root/sysutils/ucspi-unix/Makefile
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2003-10-13 15:37:15 +0000
committernetchild <netchild@FreeBSD.org>2003-10-13 15:37:15 +0000
commit9c4d1eee02a0d5ac9016e2a85aa528f1a5487dfa (patch)
treee2d23fd9123013e42c3d11786fab12d50c6b10db /sysutils/ucspi-unix/Makefile
parent6b9e667cff2646f7d272e0df2b7e10994f6fa8ad (diff)
downloadFreeBSD-ports-9c4d1eee02a0d5ac9016e2a85aa528f1a5487dfa.zip
FreeBSD-ports-9c4d1eee02a0d5ac9016e2a85aa528f1a5487dfa.tar.gz
Commit the fixed version of this port (LOCALBASE clean, install man pages).
Approved by: maintainer (implicit) Pointy hat to: netchild
Diffstat (limited to 'sysutils/ucspi-unix/Makefile')
-rw-r--r--sysutils/ucspi-unix/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/sysutils/ucspi-unix/Makefile b/sysutils/ucspi-unix/Makefile
index 52b9ab6..c3df065 100644
--- a/sysutils/ucspi-unix/Makefile
+++ b/sysutils/ucspi-unix/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ucspi-unix
PORTVERSION= 0.36
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://untroubled.org/ucspi-unix/
@@ -17,9 +18,14 @@ BUILD_DEPENDS= bglibs.1:${PORTSDIR}/devel/bglibs
USE_REINPLACE=yes
-pre-build:
- ${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
- ${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
+MAN1= unixclient.1 unixserver.1
+
+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
+
do-install:
cd ${WRKSRC} && ./installer
OpenPOWER on IntegriCloud