2005-06-16 08:57:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2005/06/16 06:57:47 jlam Exp $
|
2001-04-27 13:54:52 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= portlib-1.01
|
|
|
|
PKGNAME= libportlib-1.01
|
|
|
|
CATEGORIES= devel
|
2003-12-11 20:24:33 +01:00
|
|
|
MASTER_SITES= http://www.snake.net/software/portlib/
|
2001-04-27 13:54:52 +02:00
|
|
|
|
2003-12-24 10:53:47 +01:00
|
|
|
MAINTAINER= ben@NetBSD.org
|
2003-12-11 20:24:33 +01:00
|
|
|
HOMEPAGE= ${MASTER_SITES}
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Portable file locking and directory reading
|
2001-04-27 13:54:52 +02:00
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/portlib-1.01
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= include lib
|
2004-01-20 13:07:06 +01:00
|
|
|
|
2001-04-27 13:54:52 +02:00
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
|
|
|
|
${SED} <${WRKSRC}/Makefile.bak >${WRKSRC}/Makefile \
|
2003-12-13 17:20:09 +01:00
|
|
|
-e 's|/usr/local|${PREFIX}|'
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libport.a ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/portlib.h ${PREFIX}/include
|
2001-04-27 13:54:52 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|