1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Update to version 20021229

PR:		ports/63878
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-03-07 16:42:31 +00:00
parent 28b24f9fca
commit a194606966
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103207
4 changed files with 24 additions and 35 deletions

View File

@ -6,29 +6,33 @@
#
PORTNAME= add
PORTVERSION= 1.0
PORTVERSION= 20021229
CATEGORIES= math
MASTER_SITES= ftp://dickey.his.com/add/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Full-screen editing calculator
WRKSRC= ${WRKDIR}/add-970526
WRKSRC= ${WRKDIR}/${PORTNAME}-t${PORTVERSION}
GNU_CONFIGURE= yes
MAKEFILE= makefile
MAN1= add.1
PORTDOCS= CHANGES README
PLIST_FILES= bin/add %%DATADIR%%/add.hlp
PLIST_DIRS= %%DATADIR%%
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/add ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/add.1 ${PREFIX}/man/man1
@${MKDIR} ${PREFIX}/share/add
${INSTALL_DATA} ${WRKSRC}/add.hlp ${PREFIX}/share/add
${INSTALL_MAN} ${WRKSRC}/add.1 ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/add.hlp ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/add
.for file in CHANGES COPYING README
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/add
@${MKDIR} ${DOCSDIR}
.for file in CHANGES README
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

View File

@ -1,2 +1,2 @@
MD5 (add.tar.gz) = e26287b7a26c3b54ab5933de1e7fecab
SIZE (add.tar.gz) = 45468
MD5 (add-20021229.tgz) = 3739f37731601cbbc608d89299be9a72
SIZE (add-20021229.tgz) = 91875

View File

@ -1,19 +1,11 @@
--- makefile.in.orig Tue Dec 26 16:59:01 1995
+++ makefile.in Fri Aug 28 12:57:09 1998
@@ -32,7 +32,7 @@
--- makefile.in.orig Mon Dec 30 06:01:27 2002
+++ makefile.in Sun Mar 7 11:38:32 2004
@@ -17,7 +17,7 @@
INSTALL_DATA = @INSTALL_DATA@
SHELL = /bin/sh
LIBS = @LIBS@
-CPPFLAGS = @CPPFLAGS@ -DHAVE_CONFIG_H -DRELEASE=\"$(RELEASE)\" -I. -I$(srcdir)
+CPPFLAGS = @CPPFLAGS@ -DHAVE_CONFIG_H -DADD_HELPFILE=\"@prefix@/share/add\" -DRELEASE=\"$(RELEASE)\" -I. -I$(srcdir)
CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@
LDFLAGS = @LDFLAGS@
-DEFINES = -DHAVE_CONFIG_H -DRELEASE=$(RELEASE) @DEFINES@
+DEFINES = -DHAVE_CONFIG_H -DADD_HELPFILE=\"@prefix@/share/add/add.hlp\" -DRELEASE=$(RELEASE) @DEFINES@
INCLUDES = -I. -I$(srcdir) @INCLUDES@
CPPFLAGS = $(DEFINES) $(INCLUDES) @CPPFLAGS@
@@ -52,7 +52,6 @@
all: $(THIS)
$(THIS): $(OBJ)
- -mv $(THIS) o$(THIS)
$(LINK) $(CFLAGS) $(LDFLAGS) -o $(THIS) $(OBJ) $(LIBS)
$(OBJ): $(THIS).h screen.h

View File

@ -1,7 +0,0 @@
bin/add
share/add/add.hlp
%%PORTDOCS%%share/doc/add/CHANGES
%%PORTDOCS%%share/doc/add/COPYING
%%PORTDOCS%%share/doc/add/README
@dirrm share/add
%%PORTDOCS%%@dirrm share/doc/add