aboutsummaryrefslogtreecommitdiff
path: root/irc/slirc
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-06-12 01:23:02 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-06-12 01:23:02 +0000
commit8c3b0cae794faf77413808a6f6dfdacbd9d020ce (patch)
tree8ff7377febb36ed997248a84c0c070ebcc1600a4 /irc/slirc
parent429df9fcd83c3cff56fc84a5e9f45fc39b50d376 (diff)
downloadports-8c3b0cae794faf77413808a6f6dfdacbd9d020ce.tar.gz
ports-8c3b0cae794faf77413808a6f6dfdacbd9d020ce.zip
Notes
Diffstat (limited to 'irc/slirc')
-rw-r--r--irc/slirc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/irc/slirc/Makefile b/irc/slirc/Makefile
index 84ef82c18769..2abd9de144a4 100644
--- a/irc/slirc/Makefile
+++ b/irc/slirc/Makefile
@@ -22,8 +22,8 @@ USE_GMAKE= yes
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
-SLANG_INCDIR?= ${PREFIX}/include
-SLANG_LIBDIR?= ${PREFIX}/lib
+SLANG_INCDIR?= ${LOCALBASE}/include
+SLANG_LIBDIR?= ${LOCALBASE}/lib
LIB_DEPENDS_LIBSLANG?= slang.2:${PORTSDIR}/devel/libslang2
MAKE_ARGS= SLANG_INCDIR="${SLANG_INCDIR}" \
@@ -46,6 +46,9 @@ DOCS+= BUGS \
sldocs/VFile.txt \
sldocs/utilsfun.txt
+post-patch:
+ ${REINPLACE_CMD} -e "s,/usr/local,${LOCALBASE}," ${WRKSRC}/Makefile ${WRKSRC}/scripts/init.sl
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/slirc