diff options
author | kevlo <kevlo@FreeBSD.org> | 2000-07-11 16:59:38 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2000-07-11 16:59:38 +0800 |
commit | 1d613bf1389ae574bfe11d4966e09675f1c59fbd (patch) | |
tree | 624348b4c7a59ec120b1447773579d8b409e745f /sysutils/wmmount/Makefile | |
parent | 61e8f533edc3b57b1ff6a621ab6f519f86f1f521 (diff) | |
download | freebsd-ports-gnome-1d613bf1389ae574bfe11d4966e09675f1c59fbd.tar.gz freebsd-ports-gnome-1d613bf1389ae574bfe11d4966e09675f1c59fbd.tar.zst freebsd-ports-gnome-1d613bf1389ae574bfe11d4966e09675f1c59fbd.zip |
Update to 1.0b2
PR: 19826
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'sysutils/wmmount/Makefile')
-rw-r--r-- | sysutils/wmmount/Makefile | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/sysutils/wmmount/Makefile b/sysutils/wmmount/Makefile index f075f2aa9821..50f23340519b 100644 --- a/sysutils/wmmount/Makefile +++ b/sysutils/wmmount/Makefile @@ -6,33 +6,36 @@ # PORTNAME= wmmount -PORTVERSION= 1.0b1 +PORTVERSION= 1.0b2 CATEGORIES= sysutils windowmaker afterstep MASTER_SITES= http://www.geocities.com/SiliconValley/Vista/2471/files/ -DISTNAME= wmmount-1.0-beta1 +DISTNAME= ${PORTNAME}-1.0-beta2 EXTRACT_SUFX= .tgz MAINTAINER= ozz@FreeBSD.org.ru -LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ + 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 +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: - @ ${MKDIR} ${PREFIX}/lib/X11/wmmount - @ ${INSTALL_PROGRAM} ${WRKSRC}/wmmount ${PREFIX}/bin - @ ${INSTALL_DATA} ${WRKSRC}/system.wmmount ${PREFIX}/lib/X11/wmmount + ${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}/EXTRAS/${image} ${PREFIX}/lib/X11/wmmount + ${INSTALL_DATA} ${WRKSRC}/lib/${image} ${PREFIX}/lib/X11/wmmount .endfor .include <bsd.port.mk> |