summaryrefslogtreecommitdiff
path: root/misc/easymenu/Makefile
blob: bc552ee2e562ee9f27e9e0e34354f900a6e4ecf8 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# $NetBSD: Makefile,v 1.6 2008/03/04 19:21:11 jlam Exp $
#

DISTNAME=		easymenu-0.7.2
CATEGORIES=		misc
MASTER_SITES=		ftp://ftp.mreriksson.net/pub/easymenu/

MAINTAINER=		ola@mrEriksson.net
HOMEPAGE=		http://www.mreriksson.net/dev/easymenu/
COMMENT=		Software used to generate menu systems

PKG_DESTDIR_SUPPORT=	user-destdir

NO_BUILD=		yes

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/bin/easymenu ${DESTDIR}${PREFIX}/bin/
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/easymenu
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/easymenu/etc
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample
	${INSTALL_SCRIPT} ${WRKSRC}/easymenu-demo.sh \
		${DESTDIR}${PREFIX}/share/easymenu/
	${INSTALL_SCRIPT} ${WRKSRC}/easymenu-demo-bash.sh \
		${DESTDIR}${PREFIX}/share/easymenu/
	${INSTALL_DATA} ${WRKSRC}/README \
		${DESTDIR}${PREFIX}/share/easymenu/
	${INSTALL_DATA} ${WRKSRC}/CHANGES \
		${DESTDIR}${PREFIX}/share/easymenu/
	${INSTALL_DATA} ${WRKSRC}/etc/easymenu.conf-minimode \
		${DESTDIR}${PREFIX}/share/easymenu/etc/
	${INSTALL_DATA} ${WRKSRC}/etc/easymenu.conf-sample \
		${DESTDIR}${PREFIX}/share/easymenu/etc/
	${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo \
		${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
	${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo.1 \
		${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
	${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo.2 \
		${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
	${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo.3 \
		${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
	${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/main \
		${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
	${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/post-demo \
		${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
	${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/pre-demo \
		${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/

.include "../../mk/bsd.pkg.mk"