2012-10-31 12:16:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2012/10/31 11:19:49 asau Exp $
|
2004-08-15 02:45:50 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= syncdir-1.0
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 1
|
2004-08-15 02:45:50 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
|
|
HOMEPAGE= http://untroubled.org/syncdir/
|
|
|
|
COMMENT= Implementation of open, link, rename, and unlink
|
|
|
|
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2005-09-28 22:52:18 +02:00
|
|
|
USE_LIBTOOL= yes
|
2004-08-15 02:45:50 +02:00
|
|
|
|
|
|
|
INSTALLATION_DIRS= lib
|
|
|
|
|
|
|
|
do-build:
|
2004-11-14 09:44:26 +01:00
|
|
|
cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c syncdir.c
|
|
|
|
cd ${WRKSRC} && ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} \
|
|
|
|
-o libsyncdir.la syncdir.lo \
|
|
|
|
-version-info 1:0:0 -rpath ${PREFIX}/lib
|
2004-08-15 02:45:50 +02:00
|
|
|
|
|
|
|
do-install:
|
2004-11-14 09:44:26 +01:00
|
|
|
cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} \
|
2008-03-03 18:45:33 +01:00
|
|
|
-c libsyncdir.la ${DESTDIR}${PREFIX}/lib/libsyncdir.la
|
2004-08-15 02:45:50 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|