2829e658f2
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
31 lines
764 B
Makefile
31 lines
764 B
Makefile
# $NetBSD: Makefile,v 1.11 2007/01/07 09:13:49 rillig Exp $
|
|
|
|
DISTNAME= icbirc-1.8
|
|
CATEGORIES= chat
|
|
MASTER_SITES= http://www.benzedrine.cx/
|
|
|
|
MAINTAINER= tv@NetBSD.org
|
|
HOMEPAGE= http://www.benzedrine.cx/icbirc.html
|
|
COMMENT= Proxy IRC client and ICB server
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGBASE}
|
|
MAKE_ENV+= BINDIR="${PREFIX}/bin" MANDIR="${PREFIX}/man"
|
|
|
|
SRCS= icb.c irc.c icbirc.c
|
|
|
|
CPPFLAGS.Interix+= -Dsocklen_t=int
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
|
|
|
|
do-build:
|
|
.for f in ${SRCS}
|
|
cd ${WRKSRC} && ${COMPILE.c} ${f}
|
|
.endfor
|
|
cd ${WRKSRC} && ${LINK.c} -o icbirc ${SRCS:.c=.o}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/icbirc ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/icbirc.8 ${PREFIX}/${PKGMANDIR}/man8/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|