mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
d16f7bfb92
PR. Thanks for contributing. Since the acroread7 port is a somewhat important port for our users, I will hand it over to emulation@ if no _active_ *committer* takes it before the ports freeze. While I'm here: - fix a little nit in the csound port (I think the intention was to create no backup file instead of creating one with a "-e" extension) - set ARCH to i386 in the amd64 case for the acroread7 port. This is a work-around to be able to install everything when a dependency is not already installed (ARCH is read-only in sub-makes, so the dependencies can't change it). This should be removed when the dependencies are fixed or converted to use bsd.linux-rpm.mk. [1] Not objected to by: portmgr (explicit: krion; silence: rest) Maintainer timeout: ~4 months Submitted by: Sangwoo Shim <sangwoos@gmail.com> [1] PR: 87985 [1]
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# New ports collection makefile for: wrapper
|
|
# Date created: 2000-09-18
|
|
# Whom: Trevor Johnson
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wrapper
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= x11
|
|
DISTNAME= # intentionally left blank
|
|
EXTRACT_SUFX= # intentionally left blank
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
CONFLICTS= XFree86-3.3.6*
|
|
NO_WRKSUBDIR= yes
|
|
PLIST_FILES= bin/Xwrapper
|
|
USE_X_PREFIX= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${X_WINDOW_SYSTEM:L} == xorg
|
|
XSERVER= -DXSERVER_PATH=\"/usr/X11R6/bin/Xorg\"
|
|
PKGNAMEPREFIX= xorg-
|
|
COMMENT= Wrapper for X.org X11 server
|
|
.elif ${X_WINDOW_SYSTEM:L} == xfree86-4
|
|
XSERVER= -DXSERVER_PATH=\"/usr/X11R6/bin/XFree86\"
|
|
RUN_DEPENDS= XFree86:${PORTSDIR}/x11-servers/XFree86-4-Server
|
|
PKGNAMEPREFIX= XFree86-4-
|
|
COMMENT= Wrapper for XFree86-4 server
|
|
.endif
|
|
|
|
do-fetch:
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${XSERVER} -o ${WRKSRC}/Xwrapper ${FILESDIR}/wrapper.c
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper ${PREFIX}/bin
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.post.mk>
|