Use variables
This commit is contained in:
parent
572136e325
commit
8f21daa1c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134195
@ -14,6 +14,10 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A portable application/ms-tnef parser
|
||||
|
||||
ALL_TARGET= tnef2txt
|
||||
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
||||
|
||||
PLIST_FILES= bin/tnef2txt
|
||||
PORTDOCS= README
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/tnef2txt ${PREFIX}/bin
|
||||
|
@ -1,17 +0,0 @@
|
||||
--- Makefile.orig Mon Jan 14 00:25:02 2002
|
||||
+++ Makefile Mon Jan 14 00:25:17 2002
|
||||
@@ -1,12 +1,12 @@
|
||||
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
|
||||
# Possible platforms are SUN, HPUX, DEC, SGI, AIX, Linux and MSDOS
|
||||
# The main definitions are for 32/16 bits and for byte order, the
|
||||
# default is big endian. You can do -D__BYTE_ORDER 1234 for little
|
||||
# endian
|
||||
PLATFORM = -DHPUX
|
||||
-CFLAGS = -g -O2
|
||||
+CFLAGS += -g -O2
|
||||
|
||||
|
||||
tnef2txt: config.h tnef.h tnef.c
|
@ -1,3 +0,0 @@
|
||||
bin/tnef2txt
|
||||
%%PORTDOCS%%share/doc/tnef2txt/README
|
||||
%%PORTDOCS%%@dirrm share/doc/tnef2txt
|
Loading…
Reference in New Issue
Block a user