~cypheon/pkgsrc-wip

pkgsrc-wip/pacman/Makefile -rw-r--r-- 920 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD$

DISTNAME=	pacman-5.2.2
CATEGORIES=	pkgtools
MASTER_SITES=	https://sources.archlinux.org/other/pacman/

MAINTAINER=	root@zta.lk
HOMEPAGE=	https://www.archlinux.org/pacman/
COMMENT=	Simple library-based package manager
LICENSE=	gnu-gpl-v2

GNU_CONFIGURE=		yes
USE_TOOLS+=		pkg-config
USE_TOOLS+=		perl
USE_TOOLS+=		gmake
USE_PKGLOCALEDIR=	yes

PKGCONFIG_OVERRIDE+=	lib/libalpm/libalpm.pc.in

EGDIR=	${PREFIX}/share/examples/pacman

CONF_FILES=	${EGDIR}/pacman.conf ${PKG_SYSCONFDIR}/pacman.conf \
		${EGDIR}/makepkg.conf ${PKG_SYSCONFDIR}/makepkg.conf

INSTALLATION_DIRS=	share/bash-completion/completions

post-install:
	${MKDIR} -p ${DESTDIR}${EGDIR}
	${MV} ${DESTDIR}${PREFIX}/etc/pacman.conf ${DESTDIR}${EGDIR}
	${MV} ${DESTDIR}${PREFIX}/etc/makepkg.conf ${DESTDIR}${EGDIR}

.include "../../archivers/libarchive/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"