blob: 4a4611afe9d82efeeb9d48b9d7dc101a772d84b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# New ports collection makefile for: xorg-edit
# Date created: 4 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xorg-edit
PORTVERSION= 07.08.11
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= GUI to edit xorg.conf
USE_WX= 2.6
USE_BZIP2= yes
WX_UNICODE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
#BUILD_WRKSRC= ${WRKSRC}/sources
PLIST_FILES= bin/${PORTNAME}
post-extract:
@${CHMOD} -R a+rX,u+w ${WRKSRC}
post-patch:
@${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|g;s|/usr/local|$${PREFIX}|g'\
${BUILD_WRKSRC}/xorgedit/${MAKEFILE}
@${REINPLACE_CMD} -e '/^CXX.*=/d' ${BUILD_WRKSRC}/libxorgedit/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.include <bsd.port.mk>
|