diff options
author | vs <vs@FreeBSD.org> | 2005-04-25 07:36:28 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-04-25 07:36:28 +0000 |
commit | 389190d0c7082f125a446a1aed0e24fdfdf48982 (patch) | |
tree | 09c30f71a22f3fd66789ff98177b842b4d7f7ff1 /sysutils | |
parent | f4c1fff6dcc251cc1712dbb9da9ac5657cd7cc00 (diff) | |
download | FreeBSD-ports-389190d0c7082f125a446a1aed0e24fdfdf48982.zip FreeBSD-ports-389190d0c7082f125a446a1aed0e24fdfdf48982.tar.gz |
Use PLIST_Foo and MAKE_ARGS
Diffstat (limited to 'sysutils')
-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 32d7fb5..be4554a 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 222833d..0000000 --- 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 0ab0e33..0000000 --- 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%% |