1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Stageify.

Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-05-23 02:13:42 +00:00
parent 92a486924e
commit 1ff4553a18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354904
4 changed files with 19 additions and 25 deletions

View File

@ -12,7 +12,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pre/}
MAINTAINER= mirror176@cox.net
COMMENT= Native interface to serial ports in Java
USES= gmake zip
USES= gmake zip libtool
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_OS= native
@ -25,7 +25,6 @@ NO_MTREE= yes
PLIST_SUB= ARCH=${ARCH}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure ${WRKSRC}/ltconfig

View File

@ -1,13 +1,21 @@
$FreeBSD$
--- Makefile.in.orig Fri Apr 9 23:57:20 2004
+++ Makefile.in Fri Apr 9 23:58:06 2004
@@ -451,7 +451,7 @@
echo $$i; \
--- Makefile.in.orig 2008-12-31 10:29:12.000000000 +0800
+++ Makefile.in 2014-05-23 10:05:55.350336425 +0800
@@ -619,13 +619,15 @@ $(CLASSES): $(javafiles) $(TOP)/Makefile
# install librxtxSerial.so into the proper directory and copy $(JARTARGET) to its
# proper location
install: all
+ @$(MKDIR_P) $(DESTDIR)$(RXTX_PATH)
@$(LIBTOOL_INST) \
`for i in $(TARGETLIB);do \
if [ -f $$i ];then \
- echo $$i; \
+ echo $(TOP)/$$i; \
fi; \
done` $(RXTX_PATH)
- done` $(RXTX_PATH)
- $(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/
+ $(BSD_INSTALL_DATA) $(JARTARGET) $(JHOME)/
+ done` $(DESTDIR)$(RXTX_PATH)
+ @$(MKDIR_P) $(DESTDIR)$(JHOME)
+ $(BSD_INSTALL_DATA) $(JARTARGET) $(DESTDIR)$(JHOME)/
clean-generic:
rm -rf $(DEST) $(TOP)/$(CLASSTOP)

View File

@ -1,11 +0,0 @@
--- Makefile.in.orig Fri May 5 10:53:02 2006
+++ Makefile.in Fri May 5 10:54:08 2006
@@ -448,7 +448,7 @@
@$(LIBTOOL_INST) \
`for i in $(TARGETLIB);do \
if [ -f $$i ];then \
- echo $$i; \
+ echo $(TOP)/$$i; \
fi; \
done` $(RXTX_PATH)
$(BSD_INSTALL_DATA) $(JARTARGET) $(JHOME)/

View File

@ -1,7 +1,5 @@
lib/ext/RXTXcomm.jar
lib/%%ARCH%%/librxtxParallel-2.2pre1.so
lib/%%ARCH%%/librxtxParallel.la
lib/%%ARCH%%/librxtxParallel.so
lib/%%ARCH%%/librxtxSerial-2.2pre1.so
lib/%%ARCH%%/librxtxSerial.la
lib/%%ARCH%%/librxtxParallel-2.2pre1.so
lib/%%ARCH%%/librxtxSerial.so
lib/%%ARCH%%/librxtxSerial-2.2pre1.so