f190ea92a4
This fixes problems when some installed packages are outdated. Per wiz@'s request. Grrr, I really hate this kind of change.
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2006/09/16 12:20:36 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= ArX-1.0.20
|
|
PKGREVISION= 6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://superbeast.ucsd.edu/~landry/ArX/
|
|
|
|
MAINTAINER= recht@NetBSD.org
|
|
HOMEPAGE= http://savannah.nongnu.org/projects/arx/
|
|
COMMENT= Distributed revision control system
|
|
|
|
DEPENDS+= patch-[0-9]*:../../devel/patch
|
|
DEPENDS+= diffutils-[0-9]*:../../devel/diffutils
|
|
DEPENDS+= gtar-base-[0-9]*:../../archivers/gtar-base
|
|
BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
|
|
|
|
USE_TOOLS+= pkg-config
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LANGUAGES= c c++
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= ARXDIFF=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}diff
|
|
CONFIGURE_ARGS+= ARXPATCH=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}patch
|
|
CONFIGURE_ARGS+= ARXTAR=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}tar
|
|
CONFIGURE_ARGS+= ARXPKGCONFIG=${PKG_CONFIG:Q}
|
|
|
|
IMG_FILES= ArX001.png ArX002.png ArX003.png ArX004.png
|
|
DOC_FILES= ArX.html ArX.pdf ${IMG_FILES}
|
|
DOCDIR= ${PREFIX}/share/doc/ArX
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-build:
|
|
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD}cd ${WRKSRC} && \
|
|
${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/build/arx/arx ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
.for f in ${DOC_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCDIR}
|
|
.endfor
|
|
|
|
.include "../../sysutils/gnome-vfs2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|