41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2003/07/21 17:24:30 martti Exp $
|
|
#
|
|
|
|
DISTNAME= ROX-Session-0.1.14
|
|
PKGNAME= rox-session-0.1.14
|
|
PKGREVISION= 5
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/ROX-Session/src
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= rxg@NetBSD.org
|
|
HOMEPAGE= http://rox.sourceforge.net/
|
|
COMMENT= Very simple session manager
|
|
|
|
DEPENDS+= rox>=1.2.0nb2:../../sysutils/rox
|
|
|
|
DIST_SUBDIR= rox
|
|
|
|
USE_BUILDLINK2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_X11= yes
|
|
|
|
post-build:
|
|
${MV} ${WRKSRC} ${WRKDIR}/${DISTNAME}/src
|
|
|
|
pre-install:
|
|
${RM} -f ${WRKDIR}/${DISTNAME}/ROX-Session/AppRun.orig
|
|
${RM} -rf ${WRKSRC}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/src/ROX-Session \
|
|
${PREFIX}/libexec/rox
|
|
${CP} -Rf ${WRKDIR}/${DISTNAME}/ROX-Session ${PREFIX}/share/rox
|
|
${SED} -e "s:@PREFIX@:"${PREFIX}":g" \
|
|
< ${WRKDIR}/${DISTNAME}/ROX-Session/AppRun \
|
|
> ${PREFIX}/share/rox/ROX-Session/AppRun
|
|
|
|
.include "../../textproc/libxml2/buildlink2.mk"
|
|
.include "../../x11/gtk2/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|