ee9e1bc999
Changes: * Fix a bug to create a wrong pid file when a relative path is specified by using an option -p.
29 lines
833 B
Makefile
29 lines
833 B
Makefile
# $NetBSD: Makefile,v 1.52 2003/10/08 10:03:30 gehenna Exp $
|
|
#
|
|
|
|
DISTNAME= cvsync-0.24.8
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.cvsync.org/pub/cvsync/
|
|
|
|
MAINTAINER= gehenna@NetBSD.ORG
|
|
HOMEPAGE= http://www.cvsync.org/
|
|
COMMENT= Portable incremental cvs repository syncer
|
|
|
|
USE_BUILDLINK2= YES
|
|
USE_PKGINSTALL= YES
|
|
USE_GMAKE= YES
|
|
|
|
MAKE_ENV+= PTHREAD_TYPE=${PTHREAD_TYPE}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/cvsync
|
|
CONF_FILES+= ${EGDIR}/cvsync.conf ${PKG_SYSCONFDIR}/cvsync.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/samples/cvsync.conf ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-NetBSD.conf ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-OpenBSD.conf ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd.conf ${EGDIR}
|
|
|
|
.include "../../mk/pthread.buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|