pkgsrc/net/unison/Makefile

54 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.22 2004/12/24 17:21:01 jmmv Exp $
DISTNAME= src
2002-06-01 06:41:30 +02:00
PKGNAME= unison-2.9.1
PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/stable/latest/
2003-07-18 00:50:55 +02:00
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.cis.upenn.edu/~bcpierce/unison/
COMMENT= File-synchronization tool
2004-01-05 12:28:07 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
DIST_SUBDIR= ${PKGNAME_NOREV}
# docs: unison-manual.pdf/html/ps/dvi
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
2004-01-05 12:28:07 +01:00
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
2004-01-05 12:28:07 +01:00
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} != "none")
MAKE_FLAGS+= THREADS=true
.endif
2004-01-05 12:28:07 +01:00
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
2004-01-05 12:28:07 +01:00
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"