1999-02-28 12:17:14 +01:00
|
|
|
# New ports collection makefile for: wmmount
|
|
|
|
# Date created: 04 Janyary 1999
|
|
|
|
# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
|
|
|
|
#
|
1999-08-31 04:00:46 +02:00
|
|
|
# $FreeBSD$
|
1999-02-28 12:17:14 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:09:11 +02:00
|
|
|
PORTNAME= wmmount
|
2000-07-11 10:59:38 +02:00
|
|
|
PORTVERSION= 1.0b2
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
1999-02-28 16:24:16 +01:00
|
|
|
CATEGORIES= sysutils windowmaker afterstep
|
1999-07-24 05:34:43 +02:00
|
|
|
MASTER_SITES= http://www.geocities.com/SiliconValley/Vista/2471/files/
|
2000-07-11 10:59:38 +02:00
|
|
|
DISTNAME= ${PORTNAME}-1.0-beta2
|
1999-02-28 12:17:14 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2002-04-04 16:30:03 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= The freespace for Window Maker
|
1999-02-28 12:17:14 +01:00
|
|
|
|
|
|
|
USE_IMAKE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xpm
|
2003-02-02 16:03:56 +01:00
|
|
|
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
|
2000-07-11 10:59:38 +02:00
|
|
|
post-patch:
|
|
|
|
.for file in system.wmmount.eg system.wmmount.sh
|
2002-06-23 22:29:01 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/config/${file}
|
2000-07-11 10:59:38 +02:00
|
|
|
.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
|
1999-02-28 12:17:14 +01:00
|
|
|
|
|
|
|
do-install:
|
2000-07-11 10:59:38 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmmount ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${PREFIX}/lib/X11/wmmount
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/system.wmmount ${PREFIX}/lib/X11/wmmount
|
1999-02-28 12:17:14 +01:00
|
|
|
.for image in blank.xpm cdrom.xpm floppy.xpm harddisk.xpm zip.xpm
|
2000-07-11 10:59:38 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/${image} ${PREFIX}/lib/X11/wmmount
|
1999-02-28 12:17:14 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|