Date: Thu, 14 Mar 2013 11:52:19 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314150 - head/x11/xorg-edit Message-ID: <201303141152.r2EBqJFZ049237@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Thu Mar 14 11:52:19 2013 New Revision: 314150 URL: http://svnweb.freebsd.org/changeset/ports/314150 Log: - Update to 08.08.06 PR: 176564 Submitted by: Ports Fury Modified: head/x11/xorg-edit/Makefile (contents, props changed) head/x11/xorg-edit/distinfo (contents, props changed) head/x11/xorg-edit/pkg-descr (contents, props changed) Modified: head/x11/xorg-edit/Makefile ============================================================================== --- head/x11/xorg-edit/Makefile Thu Mar 14 11:49:12 2013 (r314149) +++ head/x11/xorg-edit/Makefile Thu Mar 14 11:52:19 2013 (r314150) @@ -1,36 +1,72 @@ -# New ports collection makefile for: xorg-edit -# Date created: 4 August 2006 -# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> -# +# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> # $FreeBSD$ -# PORTNAME= xorg-edit -PORTVERSION= 07.08.11 -PORTREVISION= 5 +PORTVERSION= 08.08.06 CATEGORIES= x11 MASTER_SITES= SF -DISTNAME= ${PORTNAME}_${PORTVERSION}_src +DISTNAME= ${PORTNAME}-${PORTVERSION}_src MAINTAINER= ports@FreeBSD.org COMMENT= GUI to edit xorg.conf -USE_WX= 2.6 +LICENSE= GPLv3 + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + USE_BZIP2= yes +USE_DOS2UNIX= *.cpp *.h +USE_WX= 2.6+ WX_UNICODE= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -#BUILD_WRKSRC= ${WRKSRC}/sources -PLIST_FILES= bin/${PORTNAME} +USE_GMAKE= yes +MAKE_JOBS_SAFE= yes + +PLIST_FILES= bin/xorg-edit \ + lib/xorg-edit/de_DE/LC_MESSAGES/xorg-edit.mo \ + lib/xorg-edit/options/devices/example.xml \ + lib/xorg-edit/options/devices/list.xml \ + lib/xorg-edit/options/devices/nvidia.xml \ + lib/xorg-edit/xorg-edit +PLIST_DIRS= lib/xorg-edit/options/devices \ + lib/xorg-edit/options \ + lib/xorg-edit/de_DE/LC_MESSAGES \ + lib/xorg-edit/de_DE \ + lib/xorg-edit -post-extract: - @${CHMOD} -R a+rX,u+w ${WRKSRC} +DESKTOP_ENTRIES="Xorg Edit" "" "" "${PORTNAME}" "Settings;" true 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 + @${REINPLACE_CMD} -e \ + 's|^CXX =|CXX ?=| ; \ + s|^CXXFLAGS =|CXXFLAGS ?=|' ${WRKSRC}/libxorgedit/Makefile + @${REINPLACE_CMD} -e \ + 's|^CXXFLAGS =|CXXFLAGS +=| ; \ + s|wx-config|$$(WX_CONFIG)| ; \ + s|-O3|| ; \ + s|^CXX =|CXX ?=| ; \ + s|^LDFLAGS =|LDFLAGS +=| ; \ + s|^$$(OBJECTS).*|%.o: %.c|' ${WRKSRC}/xorgedit/Makefile + +do-configure: + @${ECHO_CMD} -n > ${WRKDIR}/xorg-edit + @${ECHO_CMD} '#!/bin/sh' >> ${WRKDIR}/xorg-edit + @${ECHO_CMD} 'cd ${PREFIX}/lib/xorg-edit && ./xorg-edit "$$@"' \ + >> ${WRKDIR}/xorg-edit + @${ECHO_CMD} -n > ${WRKSRC}/Makefile + @${ECHO_CMD} 'all:' >> ${WRKSRC}/Makefile + @${ECHO_CMD} ' $$(MAKE) -C libxorgedit' >> ${WRKSRC}/Makefile + @${ECHO_CMD} ' $$(MAKE) -C xorgedit' >> ${WRKSRC}/Makefile do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + (cd ${WRKDIR} && ${INSTALL_SCRIPT} xorg-edit ${PREFIX}/bin) + @${MKDIR} ${PREFIX}/lib/xorg-edit + (cd ${WRKSRC} && ${INSTALL_PROGRAM} xorg-edit \ + ${PREFIX}/lib/xorg-edit) + @${MKDIR} ${PREFIX}/lib/xorg-edit/de_DE/LC_MESSAGES + (cd ${WRKSRC}/de_DE/LC_MESSAGES && ${INSTALL_DATA} ${PORTNAME}.mo \ + ${PREFIX}/lib/xorg-edit/de_DE/LC_MESSAGES) + @${MKDIR} ${PREFIX}/lib/xorg-edit/options/devices + (cd ${WRKSRC}/options/devices && ${INSTALL_DATA} *.xml \ + ${PREFIX}/lib/xorg-edit/options/devices) .include <bsd.port.mk> Modified: head/x11/xorg-edit/distinfo ============================================================================== --- head/x11/xorg-edit/distinfo Thu Mar 14 11:49:12 2013 (r314149) +++ head/x11/xorg-edit/distinfo Thu Mar 14 11:52:19 2013 (r314150) @@ -1,2 +1,2 @@ -SHA256 (xorg-edit_07.08.11_src.tar.bz2) = 96d0001b47bc0ff7e15f65e83714675206a3834ec8016615b1137d2c200fa1b1 -SIZE (xorg-edit_07.08.11_src.tar.bz2) = 100616 +SHA256 (xorg-edit-08.08.06_src.tar.bz2) = 93b189c276df9bae9d9bfbb4212a068aad53b524af6615d1dad7003ee5857967 +SIZE (xorg-edit-08.08.06_src.tar.bz2) = 101654 Modified: head/x11/xorg-edit/pkg-descr ============================================================================== --- head/x11/xorg-edit/pkg-descr Thu Mar 14 11:49:12 2013 (r314149) +++ head/x11/xorg-edit/pkg-descr Thu Mar 14 11:52:19 2013 (r314150) @@ -1 +1,3 @@ GUI to edit XServer-file xorg.conf easily + +WWW: http://www.deesaster.org/progxorg.php
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303141152.r2EBqJFZ049237>