3b34772d7f
their files via a custom do-install target.
31 lines
883 B
Makefile
31 lines
883 B
Makefile
# $NetBSD: Makefile,v 1.22 2008/03/03 05:33:32 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= ${PKGNAME_NOREV:S/-/_/}.src
|
|
PKGNAME= malsync-2.2.0
|
|
CATEGORIES= comms
|
|
MASTER_SITES= http://www.tomw.org/malsync/
|
|
|
|
MAINTAINER= rh@NetBSD.org
|
|
HOMEPAGE= http://www.tomw.org/malsync/
|
|
COMMENT= Utility to synchronize Palm Pilots to the AvantGo.com service
|
|
|
|
CONFLICTS+= libmal-[0-9]*
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/malsync
|
|
USE_TOOLS+= gmake
|
|
MAKE_ENV+= PILOT_LINK_DIR=${BUILDLINK_PREFIX.pilot-link-libs}
|
|
CPPFLAGS+= -D__unix__=1
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/malsync ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/malsync
|
|
.for doc in README_avantgo README_malsync
|
|
${INSTALL_DATA} ${FILESDIR}/${doc} ${DESTDIR}${PREFIX}/share/doc/malsync
|
|
.endfor
|
|
|
|
.include "../../comms/pilot-link-libs/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|