1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Update to 3.64a.a (distversion 3.64aa)

The next version available is 3.64ab. 3.64a.a looks more reasonable, and
  is larger than 3.64, smaller than 3.64a.b/3.65. So, I use it.

- Respect CC, CFLAGS

PR:		ports/100558
Submitted by:	KATO Tsuguru
This commit is contained in:
Rong-En Fan 2006-07-20 18:54:50 +00:00
parent a1006aec4a
commit eba28cfd74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168326
3 changed files with 10 additions and 54 deletions

View File

@ -6,16 +6,22 @@
#
PORTNAME= cweb
PORTVERSION= 3.64
PORTVERSION= 3.64a.a
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= web/c_cpp/cweb
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.([a-z])$/\1/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Literate programming tools for the C language
NO_WRKSUBDIR= yes
MAKE_ARGS= CWEBINPUTS="${DATADIR}" \
CFLAGS="${CFLAGS}" \
LINKFLAGS="" \
CC="${CC}"
MAN1= cweb.1
post-patch:

View File

@ -1,3 +1,3 @@
MD5 (cweb-3.64.tar.gz) = 49e2abe401ebf1ab008193063b88af2b
SHA256 (cweb-3.64.tar.gz) = b68fa4cc8a3ada0b4be130c62306a66ff8e74a132afb354a2a0d1581796bcfce
SIZE (cweb-3.64.tar.gz) = 212010
MD5 (cweb-3.64aa.tar.gz) = 6391ce4aa8b4083fe24ba1d66a9a673f
SHA256 (cweb-3.64aa.tar.gz) = 0cde41fd86643aefa80cd1704acfafcb2b485e71fa8dc6277bfd87971004900c
SIZE (cweb-3.64aa.tar.gz) = 223945

View File

@ -1,50 +0,0 @@
--- Makefile.orig Sat Jul 13 07:33:16 2002
+++ Makefile Tue Dec 14 23:47:23 2004
@@ -18,23 +18,23 @@
#
# directory for TeX inputs (cwebmac.tex goes here)
-MACROSDIR= /usr/local/texmf/tex/generic
+MACROSDIR= ${PREFIX}/share/texmf/tex/generic/misc
# directory for CWEB inputs in @i files
-CWEBINPUTS= /usr/local/lib/cweb
+CWEBINPUTS= ${PREFIX}/share/cweb
# extension for manual pages ("l" distinguishes local from system stuff)
-MANEXT= l
-#MANEXT= 1
+#MANEXT= l
+MANEXT= 1
# directory for manual pages (cweb.1 goes here)
-MANDIR= /usr/man/man$(MANEXT)
+MANDIR= ${PREFIX}/man/man$(MANEXT)
# destination directory for executables; must end in /
-DESTDIR= /usr/local/bin/
+DESTDIR= ${PREFIX}/bin/
# directory for GNU EMACS Lisp code (cweb.el goes here)
-EMACSDIR= /usr/local/emacs/lisp
+EMACSDIR= ${PREFIX}/share/emacs/site-lisp
# Set DESTPREF to null if you want to call the executables "tangle" and "weave"
# (probably NOT a good idea; we recommend leaving DESTPREF=c)
@@ -50,13 +50,13 @@
WCHANGES=
# We keep debugging info around, for fun, but most users don't need it
-CFLAGS = -g
+#CFLAGS = -g
#CFLAGS = -O
-LINKFLAGS = -g
+#LINKFLAGS = -g
#LINKFLAGS = -s # for smaller (stripped) executables on many UNIX systems
# What C compiler are you using?
-CC = cc
+#CC = cc
# RM and CP are used below in case rm and cp are aliased
RM= /bin/rm