diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-07 16:42:31 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-07 16:42:31 +0000 |
commit | a194606966c3e8b6d6504d3472f73ae276fbb7c3 (patch) | |
tree | e1d4ca6b67c4f654ee89bbdee58503e4a60b14cf /math | |
parent | 28b24f9fcac8e71f91634d590b339c5c5fa1a830 (diff) | |
download | ports-a194606966c3e8b6d6504d3472f73ae276fbb7c3.tar.gz ports-a194606966c3e8b6d6504d3472f73ae276fbb7c3.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/add/Makefile | 22 | ||||
-rw-r--r-- | math/add/distinfo | 4 | ||||
-rw-r--r-- | math/add/files/patch-aa | 26 | ||||
-rw-r--r-- | math/add/pkg-plist | 7 |
4 files changed, 24 insertions, 35 deletions
diff --git a/math/add/Makefile b/math/add/Makefile index d9d803f502ca..d41f058d4b4e 100644 --- a/math/add/Makefile +++ b/math/add/Makefile @@ -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 diff --git a/math/add/distinfo b/math/add/distinfo index 28e09ccf0ed2..eb938e8171ac 100644 --- a/math/add/distinfo +++ b/math/add/distinfo @@ -1,2 +1,2 @@ -MD5 (add.tar.gz) = e26287b7a26c3b54ab5933de1e7fecab -SIZE (add.tar.gz) = 45468 +MD5 (add-20021229.tgz) = 3739f37731601cbbc608d89299be9a72 +SIZE (add-20021229.tgz) = 91875 diff --git a/math/add/files/patch-aa b/math/add/files/patch-aa index 8135ceb89b57..035f932c0f88 100644 --- a/math/add/files/patch-aa +++ b/math/add/files/patch-aa @@ -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 diff --git a/math/add/pkg-plist b/math/add/pkg-plist deleted file mode 100644 index 9a1be2b8feaa..000000000000 --- a/math/add/pkg-plist +++ /dev/null @@ -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 |