7761aefad2
clang as system compiler and cpp is clang cpp (as opposed to GNU cpp). This is done by removing the configure test for cpp completely. Using clang cpp will make some manual pages as well as some scripts get slightly wierd whitespace formatting. However, it does not affect the function of the scripts or the instructions in the manual pages. PR: ports/166373 Submitted by: Jakub Lach <jakub_lach@mailplus.pl> (PR) Patch by: me (with ideas from PR and mailing list) Tested by: Jakub Lach <jakub_lach@mailplus.pl>, me Approved by: kwm (mentor) Obtained from: xorg staging area
31 lines
673 B
Makefile
31 lines
673 B
Makefile
# New ports collection makefile for: xinit
|
|
# Date Created: 17 Feb 2006
|
|
# Whom: Florent Thoumie <flz@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xinit
|
|
PORTVERSION= 1.3.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= X Window System initializer
|
|
|
|
LICENSE= MIT
|
|
|
|
XORG_CAT= app
|
|
USE_XORG= x11
|
|
|
|
PLIST_FILES= bin/startx bin/xinit lib/X11/xinit/xinitrc
|
|
PLIST_DIRS= lib/X11/xinit
|
|
|
|
MAN1= startx.1 xinit.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|hexdump|/usr/bin/hexdump|' ${WRKSRC}/startx.cpp
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/man/xinit.man
|
|
|
|
.include <bsd.port.mk>
|