Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 03:12:45 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/155843: Update port: x11/xstroke
Message-ID:  <20110323031245.1c97258e.tkato432@yahoo.com>
Resent-Message-ID: <201103221820.p2MIKKkU038263@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         155843
>Category:       ports
>Synopsis:       Update port: x11/xstroke
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 22 18:20:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.3-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Utilize PLIST_FILES

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11/xstroke/Makefile x11/xstroke/Makefile
--- /usr/ports/x11/xstroke/Makefile	2011-03-12 20:54:18.000000000 +0900
+++ x11/xstroke/Makefile	2011-03-22 16:23:21.000000000 +0900
@@ -9,24 +9,26 @@
 PORTVERSION=	0.5.12
 PORTREVISION=	8
 CATEGORIES=	x11
-MASTER_SITES=	ftp://ftp.handhelds.org/projects/xstroke/release-0.5/ \
-		http://www.handhelds.org/download/projects/xstroke/release-0.5/
+MASTER_SITES=	http://ftp.gwdg.de/pub/linux/handhelds/projects/xstroke/release-0.5/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Fullscreen gesture recognition
 
-DEPRECATED=	Upstream disapear and distfile is no more available
-EXPIRATION_DATE=	2011-05-01
+LICENSE=	GPLv2 GPLv3
+LICENSE_COMB=	dual
 
 USE_BISON=	build
 USE_XORG=	xft x11 xext xi xtst
 USE_IMAKE=	yes
-CFLAGS+=	${PTHREAD_CFLAGS}
-CPPFLAGS=	-I${LOCALBASE}/include -I.
-LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
-MAKE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+MAKE_ENV=	LDFLAGS="${LDFLAGS}"
+
+MAN1=		xstroke.1
+PLIST_FILES=	bin/xstroke %%ETCDIR%%/alphabet
+PLIST_DIRS=	%%ETCDIR%%
 
-MAN1=	xstroke.1
+CFLAGS+=	-I.
+CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
 post-patch:
 	@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
diff -urN /usr/ports/x11/xstroke/pkg-plist x11/xstroke/pkg-plist
--- /usr/ports/x11/xstroke/pkg-plist	2002-05-14 17:19:03.000000000 +0900
+++ x11/xstroke/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,3 +0,0 @@
-bin/xstroke
-etc/xstroke/alphabet
-@dirrm etc/xstroke
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110323031245.1c97258e.tkato432>