mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# New ports collection makefile for: rox-session
|
|
# Date created: 11 March 2001
|
|
# Whom: Jimmy Olgeni <olgeni@uli.it>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rox-session
|
|
PORTVERSION= 0.30
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-fm
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= rox
|
|
DISTNAME= rox-session-${PORTVERSION}
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= A session manager for the ROX desktop
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/rox:${PORTSDIR}/x11-fm/rox-filer \
|
|
${LOCALBASE}/lib/ROX-Lib2/python/rox/__init__.py:${PORTSDIR}/devel/py-roxlib
|
|
|
|
USE_BZIP2= yes
|
|
USE_PYTHON= yes
|
|
|
|
SUB_FILES= rox-session rox.desktop
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if exists(${LOCALBASE}/sbin/gdm)
|
|
WITH_GDM= yes
|
|
.endif
|
|
|
|
.if defined(WITH_GDM)
|
|
RUN_DEPENDS+= ${LOCALBASE}/sbin/gdm:${PORTSDIR}/x11/gdm
|
|
PLIST_SUB+= GDM=""
|
|
.else
|
|
PLIST_SUB+= GDM="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name *.orig | ${XARGS} ${RM}
|
|
|
|
do-build:
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/apps
|
|
@${CP} -r ${WRKSRC}/ROX-Session ${PREFIX}/apps/
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/apps/ROX-Session
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/rox-session ${PREFIX}/sbin
|
|
.if defined(WITH_GDM)
|
|
@${INSTALL_DATA} ${WRKDIR}/rox.desktop ${PREFIX}/etc/dm/Sessions
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|