c487cb967a
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2004/10/03 00:18:01 tv Exp $
|
|
|
|
DISTNAME= src
|
|
PKGNAME= unison-2.9.20
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/beta-test/latest/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.cis.upenn.edu/~bcpierce/unison/
|
|
COMMENT= File-synchronization tool
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
# docs: unison-manual.pdf/html/ps/dvi
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
USE_BUILDLINK3= yes
|
|
USE_GNU_TOOLS+= make
|
|
MAKE_FLAGS+= CFLAGS="" UISTYLE=text
|
|
MAKE_ENV+= HOME=${WRKDIR}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc")
|
|
MAKE_FLAGS+= NATIVE=true
|
|
.else
|
|
MAKE_FLAGS+= NATIVE=false
|
|
.endif
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} != "none")
|
|
MAKE_FLAGS+= THREADS=true
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
post-install:
|
|
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/unison
|
|
${INSTALL_MAN} ${WRKSRC}/BUGS.txt ${PREFIX}/share/doc/unison
|
|
${INSTALL_MAN} ${WRKSRC}/CONTRIB ${PREFIX}/share/doc/unison
|
|
${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/unison
|
|
${INSTALL_MAN} ${WRKSRC}/DEPENDENCIES.ps ${PREFIX}/share/doc/unison
|
|
${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/unison
|
|
${INSTALL_MAN} ${WRKSRC}/NEWS ${PREFIX}/share/doc/unison
|
|
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/unison
|
|
${INSTALL_MAN} ${WRKSRC}/ROADMAP.txt ${PREFIX}/share/doc/unison
|
|
${INSTALL_MAN} ${WRKSRC}/TODO.txt ${PREFIX}/share/doc/unison
|
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|