summaryrefslogtreecommitdiffstats
path: root/sysutils/wmmount/Makefile
blob: 8a14a03bb5b316f64fb37b8019f81d578b624c90 (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
# New ports collection makefile for: wmmount
# Version required: 1.0b1
# Date created:		04 Janyary 1999
# Whom:			Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
#
# $Id: Makefile,v 1.2 1999/02/28 15:24:16 kuriyama Exp $
#

DISTNAME=	wmmount
PKGNAME=	wmmount-1.0b1
CATEGORIES=	sysutils windowmaker afterstep
MASTER_SITES=	http://www.geocities.com/SiliconValley/Vista/2471/
EXTRACT_SUFX=	.tgz

MAINTAINER=	ozz@FreeBSD.org.ru

LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm

WRKSRC=		${WRKDIR}/wmmount
USE_IMAKE=	yes
NO_INSTALL_MANPAGES=	yes

post-extract:
	@ if [ -r /etc/fstab ]; then \
		${WRKSRC}/system.wmmount.awk >${WRKSRC}/system.wmmount; \
	  else \
		${CP} ${WRKSRC}/system.wmmount.eg ${WRKSRC}/system.wmmount; \
	  fi

do-install:
	@ ${MKDIR} ${PREFIX}/lib/X11/wmmount
	@ ${INSTALL_PROGRAM} ${WRKSRC}/wmmount ${PREFIX}/bin
	@ ${INSTALL_DATA} ${WRKSRC}/system.wmmount ${PREFIX}/lib/X11/wmmount
.for image in blank.xpm cdrom.xpm floppy.xpm harddisk.xpm zip.xpm
	@ ${INSTALL_DATA} ${WRKSRC}/EXTRAS/${image} ${PREFIX}/lib/X11/wmmount
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud