pkgsrc/sysutils/pdumpfs/Makefile

36 lines
1,000 B
Makefile

# $NetBSD: Makefile,v 1.15 2021/07/21 14:40:31 taca Exp $
#
DISTNAME= pdumpfs-${VER}
PKGNAME= pdumpfs-${VER}
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://0xcc.net/pdumpfs/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://0xcc.net/pdumpfs/
COMMENT= Simple daily backup system similar to Plan9's dumpfs
LICENSE= gnu-gpl-v2
CONFLICTS+= ruby[1-9][0-9]-pdumpfs-[0-9]*
SUPERSEDES+= ruby[1-9][0-9]-pdumpfs-[0-9]*
USE_TOOLS+= pax
VER= 1.3
BUILD_TARGET= pdumpfs
REPLACE_RUBY= pdumpfs.in
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 ${PKGMANDIR}/ja_JP.EUC/man8 \
share/doc/pdumpfs
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${DESTDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man8
cd ${WRKSRC}/doc && \
pax -rw -pp -pm . ${DESTDIR}${PREFIX}/share/doc/pdumpfs
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"