aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-06-01 18:01:05 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-06-01 18:01:05 +0000
commit8eb79a2122dbaa084e56fd77b392f7e7b0468450 (patch)
treee28025767be3962afb03949f632ec00617b6c30e /chinese
parent85d6cbfdf6788cec2d8bb894b95c9e0228ac40c4 (diff)
downloadports-8eb79a2122dbaa084e56fd77b392f7e7b0468450.tar.gz
ports-8eb79a2122dbaa084e56fd77b392f7e7b0468450.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/xttmgr/Makefile1
-rw-r--r--chinese/xttmgr/files/patch-Makefile18
2 files changed, 10 insertions, 9 deletions
diff --git a/chinese/xttmgr/Makefile b/chinese/xttmgr/Makefile
index 6a8e647755fa..6fdd50a75d0c 100644
--- a/chinese/xttmgr/Makefile
+++ b/chinese/xttmgr/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xttmgr
PORTVERSION= 0.9.6
+PORTREVISION= 1
CATEGORIES= chinese
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/xttmgr/
diff --git a/chinese/xttmgr/files/patch-Makefile b/chinese/xttmgr/files/patch-Makefile
index 2248c3e5c2c7..2ad92dafbf1d 100644
--- a/chinese/xttmgr/files/patch-Makefile
+++ b/chinese/xttmgr/files/patch-Makefile
@@ -1,17 +1,17 @@
---- Makefile.orig Thu May 8 08:41:13 2003
-+++ Makefile Mon Jun 23 22:44:18 2003
-@@ -1,16 +1,16 @@
+--- Makefile.orig 2003-05-08 04:41:13.000000000 +0400
++++ Makefile 2009-06-01 21:24:03.000000000 +0400
+@@ -1,16 +1,15 @@
-FREETYPE_BASE=/usr
-FREETYPE_INCL=$(FREETYPE_BASE)/include/freetype2
-+FREETYPE_BASE=/usr/local
++FREETYPE_BASE=${LOCALBASE}
+FREETYPE_INCL=-I$(FREETYPE_BASE)/include/freetype2 -I$(FREETYPE_BASE)/include
FREETYPE_LIB=$(FREETYPE_BASE)/lib
-prefix=/usr
-+prefix=/usr/local
++prefix=${PREFIX}
- CC=gcc
+-CC=gcc
-CFLAGS=$(RPM_OPT_FLAGS) -Wall -pedantic -I$(FREETYPE_INCL)
-+CFLAGS=$(RPM_OPT_FLAGS) -Wall -pedantic $(FREETYPE_INCL)
++CFLAGS+=$(RPM_OPT_FLAGS) -Wall -pedantic $(FREETYPE_INCL)
LDFALGS=-L$(FREETYPE_LIB) -lfreetype -lz
all: xttmgr
@@ -22,12 +22,12 @@
xttmgr.o: xttmgr.c
-@@ -18,7 +18,7 @@
+@@ -18,7 +17,7 @@
-rm -f *.o core xttmgr
install:
- -install -s -m 755 xttmgr $(DESTDIR)$(prefix)/sbin/xttmgr
-+ -install -s -m 755 xttmgr $(DESTDIR)$(prefix)/bin/xttmgr
++ -${BSD_INSTALL_PROGRAM} xttmgr $(DESTDIR)$(prefix)/bin/xttmgr
uninstall:
-rm -f /usr/sbin/xttmgr