diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-04-25 07:36:28 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-04-25 07:36:28 +0000 |
commit | ed2059d3449d746bdee6e383229033ed1e29c518 (patch) | |
tree | 57927994b0cdff872367fe00dddb938f73330279 /sysutils/ftrace | |
parent | 6c69a8ebb2d9139bf0fb83105d2e6859bab7b71e (diff) |
Use PLIST_Foo and MAKE_ARGS
Notes
Notes:
svn path=/head/; revision=134104
Diffstat (limited to 'sysutils/ftrace')
-rw-r--r-- | sysutils/ftrace/Makefile | 11 | ||||
-rw-r--r-- | sysutils/ftrace/files/patch-ac | 32 | ||||
-rw-r--r-- | sysutils/ftrace/pkg-plist | 7 |
3 files changed, 11 insertions, 39 deletions
diff --git a/sysutils/ftrace/Makefile b/sysutils/ftrace/Makefile index 32d7fb56147d..be4554a918c4 100644 --- a/sysutils/ftrace/Makefile +++ b/sysutils/ftrace/Makefile @@ -16,6 +16,17 @@ COMMENT= A file modification/creation watcher WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} GNU_CONFIGURE= yes +MAKE_ARGS= CFLAGS="${CFLAGS} -DPIC -fPIC -D_REENTRANT -I." \ + LDFLAGS="-shared" INSTALLS_SHLIB= yes +PLIST_FILES= bin/ftrace lib/libftrace.so +PORTDOCS= COPYING README TODO ChangeLog + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/ftrace ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/libftrace.so ${PREFIX}/lib + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + .include <bsd.port.mk> diff --git a/sysutils/ftrace/files/patch-ac b/sysutils/ftrace/files/patch-ac deleted file mode 100644 index 222833d0d4ee..000000000000 --- a/sysutils/ftrace/files/patch-ac +++ /dev/null @@ -1,32 +0,0 @@ ---- Makefile.in.orig Wed Jan 10 09:10:45 2001 -+++ Makefile.in Mon Jan 29 13:18:13 2001 -@@ -1,12 +1,12 @@ - BINDIR = @prefix@/bin - LIBDIR = @prefix@/lib --DOCDIR = @prefix@/doc/ftrace -+DOCDIR = @prefix@/share/doc/ftrace - - CC = @CC@ - LD = @LD@ - INSTALL = @INSTALL@ --CFLAGS = -Wall -O2 -DPIC -fPIC -D_REENTRANT -I. --LDFLAGS = @LDSHARED@ -ldl -+CFLAGS += -Wall -DPIC -fPIC -D_REENTRANT -I. -+LDFLAGS = @LDSHARED@ - OBJS = ftrace.o - - .PHONY: all clean install distclean -@@ -20,10 +20,10 @@ - $(CC) $(CFLAGS) -c $< -o $@ - - install: libftrace.so -- $(INSTALL) -m 755 ftrace $(BINDIR) -- $(INSTALL) -m 755 libftrace.so $(LIBDIR) -+ $(INSTALL) -m 555 ftrace $(BINDIR) -+ $(INSTALL) -m 555 libftrace.so $(LIBDIR) - $(INSTALL) -d $(DOCDIR) -- $(INSTALL) COPYING README TODO ChangeLog $(DOCDIR) -+ $(INSTALL) -m 444 COPYING README TODO ChangeLog $(DOCDIR) - - clean: - rm -f *.o *.so *.bak *~ diff --git a/sysutils/ftrace/pkg-plist b/sysutils/ftrace/pkg-plist deleted file mode 100644 index 0ab0e33b0986..000000000000 --- a/sysutils/ftrace/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/ftrace -lib/libftrace.so -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%@dirrm %%DOCSDIR%% |