diff options
author | cjep <cjep@pkgsrc.org> | 2002-06-01 19:47:32 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2002-06-01 19:47:32 +0000 |
commit | 9a5321e2b37102048ce653cc8e577461041f5747 (patch) | |
tree | 382c5c1099afc9f43ac1037f074b1f83057beab3 /sysutils/rox-session | |
parent | 6bbd0615a916290962b3549756192a8fe8ca91e9 (diff) | |
download | pkgsrc-9a5321e2b37102048ce653cc8e577461041f5747.tar.gz |
Minor fix: handle installation a bit better a la rox package.
Diffstat (limited to 'sysutils/rox-session')
-rw-r--r-- | sysutils/rox-session/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/rox-session/Makefile b/sysutils/rox-session/Makefile index 8e41bd2a5ca..d8400b4b68b 100644 --- a/sysutils/rox-session/Makefile +++ b/sysutils/rox-session/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/05/26 20:22:07 cjep Exp $ +# $NetBSD: Makefile,v 1.2 2002/06/01 19:47:32 cjep Exp $ # DISTNAME= ROX-Session-0.1.14 PKGNAME= rox-session-0.1.14 +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/} EXTRACT_SUFX= .tgz @@ -11,7 +12,7 @@ MAINTAINER= rxg@netbsd.org HOMEPAGE= http://rox.sourceforge.net/ COMMENT= very simple session manager -DEPENDS+= rox>=1.2.0nb1:../../sysutils/rox +DEPENDS+= rox>=1.2.0nb2:../../sysutils/rox DIST_SUBDIR= rox @@ -21,16 +22,15 @@ GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${DISTNAME}/ROX-Session/src post-build: - ${CP} ${WRKSRC}/ROX-Session ${WRKDIR}/${DISTNAME}/ROX-Session + ${MV} ${WRKSRC} ${WRKDIR}/${DISTNAME}/src pre-install: ${RM} -f ${WRKDIR}/${DISTNAME}/ROX-Session/AppRun.orig ${RM} -rf ${WRKSRC} do-install: - ${INSTALL} ${WRKDIR}/${DISTNAME}/ROX-Session/ROX-Session \ + ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/src/ROX-Session \ ${PREFIX}/libexec/rox - ${RM} -f ${WRKDIR}/${DISTNAME}/ROX-Session/ROX-Session ${CP} -Rf ${WRKDIR}/${DISTNAME}/ROX-Session ${PREFIX}/share/rox ${SED} -e "s:@PREFIX@:"${PREFIX}":g" \ < ${WRKDIR}/${DISTNAME}/ROX-Session/AppRun \ |