blob: a8d5b42723ce38ee7f7bf5735fe29a2e58c388cf (
plain) (
blame)
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
|
# New ports collection makefile for: wmmount
# Date created: 04 Janyary 1999
# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
#
# $FreeBSD$
#
PORTNAME= wmmount
PORTVERSION= 1.0b2
CATEGORIES= sysutils windowmaker afterstep
MASTER_SITES= http://www.geocities.com/SiliconValley/Vista/2471/files/
DISTNAME= ${PORTNAME}-1.0-beta2
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_IMAKE= yes
USE_XPM= yes
post-patch:
.for file in system.wmmount.eg system.wmmount.sh
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/config/${file}
.endfor
.if exists(/etc/fstab)
@${SH} ${WRKSRC}/config/system.wmmount.sh > ${WRKSRC}/system.wmmount
.else
@${CP} ${WRKSRC}/config/system.wmmount.eg ${WRKSRC}/system.wmmount
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmmount ${PREFIX}/bin
@${MKDIR} ${PREFIX}/lib/X11/wmmount
${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}/lib/${image} ${PREFIX}/lib/X11/wmmount
.endfor
.include <bsd.port.mk>
|