pkgsrc/devel/libportlib/Makefile
2008-03-11 18:40:18 +00:00

27 lines
722 B
Makefile

# $NetBSD: Makefile,v 1.15 2008/03/11 18:40:18 joerg Exp $
#
DISTNAME= portlib-1.01
PKGNAME= libportlib-1.01
CATEGORIES= devel
MASTER_SITES= http://www.snake.net/software/portlib/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ${MASTER_SITES}
COMMENT= Portable file locking and directory reading
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/portlib-1.01
INSTALLATION_DIRS= include lib
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
${SED} <${WRKSRC}/Makefile.bak >${WRKSRC}/Makefile \
-e 's|/usr/local|${PREFIX}|'
do-install:
${INSTALL_DATA} ${WRKSRC}/libport.a ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/portlib.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"