blob: 19545f27d379603f87b3b964280168476433f605 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: Makefile,v 1.16 2009/06/30 00:07:13 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
MAKE_JOBS_SAFE= no
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"
|