1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Update to 0.9.2.1

PR:		46308
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Tilman Keskinoz 2003-01-03 18:05:34 +00:00
parent 752a55f644
commit 233b222731
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72421
3 changed files with 46 additions and 15 deletions

View File

@ -7,18 +7,19 @@
#
PORTNAME= eukleides
PORTVERSION= 0.9.0
PORTVERSION= 0.9.2.1
CATEGORIES= math
MASTER_SITES= http://perso.wanadoo.fr/obrecht/download/
DISTNAME= ${PORTNAME}.${PORTVERSION}
DISTNAME= ${PORTNAME}.${PORTVERSION:R}rev${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit \
epstopdf:${PORTSDIR}/print/teTeX
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION:R}
USE_BISON= yes
ALL_TARGET= ${PORTNAME}
USE_GMAKE= yes
MAN1= eukleides.1

View File

@ -1 +1 @@
MD5 (eukleides.0.9.0.tar.gz) = 7619d7bd3be453b6d7fed30b1f81bfa0
MD5 (eukleides.0.9.2rev1.tar.gz) = 241018c6eabfcb653962eed750936d0e

View File

@ -1,22 +1,52 @@
--- Makefile.orig Wed Jun 5 01:38:47 2002
+++ Makefile Wed Jun 5 01:41:39 2002
@@ -1,14 +1,14 @@
# Eukleides 0.9.0 makefile
--- Makefile.orig Tue Nov 12 06:25:09 2002
+++ Makefile Sat Dec 14 08:42:59 2002
@@ -1,18 +1,20 @@
# Eukleides 0.9.2 makefile
# Copyright (c) Christian Obrecht 2000-2002
-CC = gcc
-CFLAGS = -c -O2
+#CC = gcc
+CC ?= gcc
+CFLAGS += -c
OBJECTS = lex.yy.o parser.tab.o main.o geometry.o drawing.o
LEX = flex
YACC = bison -d
-BIN = /usr/local/bin/
-MAN = /usr/man/man1/
-INFO = /usr/info/
+BIN = ${PREFIX}/bin/
+MAN = ${PREFIX}/man/man1/
+INFO = ${PREFIX}/info/
-PREFIX = /usr/local/
-BIN = $(PREFIX)bin/
-MAN = $(PREFIX)man/man1/
-INFO = $(PREFIX)info/
+PREFIX ?= /usr/local/
+BIN = $(PREFIX)/bin/
+MAN = $(PREFIX)/man/man1/
+INFO = $(PREFIX)/info/
PAPER = --texinfo=@afourpaper
DOC = eukleides.info eukleides.dvi eukleides.ps
+all : eukleides info
+
eukleides : $(OBJECTS)
$(CC) -o $@ -lm $(OBJECTS)
@@ -42,15 +44,13 @@
book : dvi
dvips -f eukleides.dvi > eukleides.ps
-install : eukleides man info
- strip eukleides ; \
- cp -f eukleides $(BIN)eukleides ; \
- chmod +x euk2eps ; \
- cp -f euk2eps $(BIN)euk2eps ; \
- chmod +x euk2edit ; \
- cp -f euk2edit $(BIN)euk2edit ; \
- install-info eukleides.info $(INFO)dir ; \
- cp -f eukleides.info $(INFO)eukleides.info
+install : eukleides info
+ ${BSD_INSTALL_PROGRAM} eukleides $(BIN)eukleides
+ ${BSD_INSTALL_SCRIPT} euk2eps $(BIN)euk2eps
+ ${BSD_INSTALL_SCRIPT} euk2edit $(BIN)euk2edit
+ ${BSD_INSTALL_MAN} eukleides.man $(MAN)eukleides.1
+ ${BSD_INSTALL_DATA} eukleides.info $(INFO)eukleides.info
+ install-info eukleides.info $(INFO)dir
uninstall :
rm -f $(BIN)eukleides ; \