aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rtfreader
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-26 21:08:52 +0800
committervs <vs@FreeBSD.org>2005-04-26 21:08:52 +0800
commita510e09307bf8a99e4dfb7c849a188018c3999e4 (patch)
tree84e1dbf4279709b0be99bffa9e0d9794d9ddf8a4 /textproc/rtfreader
parenta5975a225cc91954308d8017f3ce4ff168b13f9c (diff)
downloadfreebsd-ports-gnome-a510e09307bf8a99e4dfb7c849a188018c3999e4.tar.gz
freebsd-ports-gnome-a510e09307bf8a99e4dfb7c849a188018c3999e4.tar.zst
freebsd-ports-gnome-a510e09307bf8a99e4dfb7c849a188018c3999e4.zip
- Use MAKE_ARGS
- Don't use pkg-message to state the obvious
Diffstat (limited to 'textproc/rtfreader')
-rw-r--r--textproc/rtfreader/Makefile4
-rw-r--r--textproc/rtfreader/files/patch-aa12
-rw-r--r--textproc/rtfreader/pkg-message3
3 files changed, 1 insertions, 18 deletions
diff --git a/textproc/rtfreader/Makefile b/textproc/rtfreader/Makefile
index 40081a851b23..b9491917bcbf 100644
--- a/textproc/rtfreader/Makefile
+++ b/textproc/rtfreader/Makefile
@@ -16,12 +16,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A portable application/ms-rtf parser
ALL_TARGET= rtfreader
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/rtfreader
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/rtfreader ${PREFIX}/bin
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>
diff --git a/textproc/rtfreader/files/patch-aa b/textproc/rtfreader/files/patch-aa
deleted file mode 100644
index fe25541be31a..000000000000
--- a/textproc/rtfreader/files/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.orig Mon Jan 14 00:40:08 2002
-+++ Makefile Mon Jan 14 00:40:20 2002
-@@ -1,7 +1,7 @@
-
-
--CC = gcc
--CFLAGS = -O2
-+CC ?= gcc
-+CFLAGS += -O2
-
- rtfreader: rtfactn.o rtfreadr.o
- $(CC) -o rtfreader rtfreadr.o rtfactn.o
diff --git a/textproc/rtfreader/pkg-message b/textproc/rtfreader/pkg-message
deleted file mode 100644
index 70b170b9f781..000000000000
--- a/textproc/rtfreader/pkg-message
+++ /dev/null
@@ -1,3 +0,0 @@
---------------------------------------------------------------
-Usage: To use this port, simply run "rtfreader filename.rtf".
---------------------------------------------------------------