1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Convert to staging

- Convert to USES=gmake
This commit is contained in:
Guido Falsi 2013-10-10 00:03:44 +00:00
parent 12e376a1c6
commit 0ee5bfde1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329945
4 changed files with 46 additions and 16 deletions

View File

@ -12,7 +12,6 @@ COMMENT= Easy to use asynchronous-capable DNS client library and utilities
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake
LIBVERSION= 1
@ -20,14 +19,9 @@ PLIST_SUB+= LIBVERSION="${LIBVERSION}"
DOCS= COPYING GPL-vs-LGPL INSTALL LICENCE.WAIVERS README README.html TODO changelog
NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
${STRIP_CMD} ${PREFIX}/bin/adnslogres ${PREFIX}/bin/adnshost
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/adnslogres ${STAGEDIR}${PREFIX}/bin/adnshost
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>

View File

@ -0,0 +1,14 @@
--- client/Makefile.in.orig 2006-05-10 12:58:02.000000000 +0200
+++ client/Makefile.in 2013-10-09 10:56:22.929654486 +0200
@@ -58,9 +58,9 @@
all: $(TARGETS)
install: $(TARG_INSTALL)
- mkdir -p $(bindir)
+ mkdir -p $(DESTDIR)$(bindir)
set -xe; for f in $(TARG_INSTALL); \
- do $(INSTALL_PROGRAM) $$f $(bindir)/$$f; done
+ do $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f; done
uninstall:
for f in $(TARGETS); do rm -f $(bindir)/$$f; done

View File

@ -1,10 +1,16 @@
--- dynamic/Makefile.in.orig Tue Jul 4 11:34:55 2006
+++ dynamic/Makefile.in Tue Jul 4 11:35:05 2006
@@ -32,7 +32,6 @@
--- dynamic/Makefile.in.orig 2006-05-10 12:58:02.000000000 +0200
+++ dynamic/Makefile.in 2013-10-09 10:55:03.235655634 +0200
@@ -30,10 +30,9 @@
ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS)))
install:
mkdir -p $(libdir)
$(INSTALL_PROGRAM) $(SHLIBFILE) $(libdir)/$(SHLIBFILE)
- mkdir -p $(libdir)
- $(INSTALL_PROGRAM) $(SHLIBFILE) $(libdir)/$(SHLIBFILE)
- ln -sf $(SHLIBFILE) $(libdir)/$(SHLIBSONAME)
ln -sf $(SHLIBSONAME) $(libdir)/$(SHLIBFORLINK)
- ln -sf $(SHLIBSONAME) $(libdir)/$(SHLIBFORLINK)
+ mkdir -p $(DESTDIR)$(libdir)
+ $(INSTALL_PROGRAM) $(SHLIBFILE) $(DESTDIR)$(libdir)/$(SHLIBFILE)
+ (cd $(DESTDIR)$(libdir) && ln -sf $(SHLIBSONAME) $(SHLIBFORLINK))
uninstall:
rm -f $(libdir)/$(SHLIBFILE) $(libdir)/$(SHLIBSONAME)

View File

@ -0,0 +1,16 @@
--- src/Makefile.in.orig 2006-05-10 12:58:03.000000000 +0200
+++ src/Makefile.in 2013-10-09 10:46:18.314690101 +0200
@@ -28,10 +28,10 @@
include adns.make
install:
- mkdir -p $(libdir) $(includedir)
+ mkdir -p $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
set -xe; for f in $(TARGETS); \
- do $(INSTALL_DATA) $$f $(libdir)/$$f; done
- $(INSTALL_DATA) $(srcdir)/../src/adns.h $(includedir)/adns.h
+ do $(INSTALL_DATA) $$f $(DESTDIR)$(libdir)/$$f; done
+ $(INSTALL_DATA) $(srcdir)/../src/adns.h $(DESTDIR)$(includedir)/adns.h
uninstall:
for f in $(TARGETS); do rm -f $(libdir)/$$f; done