ports/183256: [PATCH] comms/thebridge: fix StageDir
Takefu
takefu at airport.fm
Thu Oct 24 06:25:42 UTC 2013
A correct patch file is transmitted.
--- thebridge-1.09.patch begins here ---
diff -ruN /usr/ports/comms/thebridge/Makefile ./Makefile
--- /usr/ports/comms/thebridge/Makefile 2013-09-30 08:40:13.000000000 +0900
+++ ./Makefile 2013-10-24 14:53:47.000000000 +0900
@@ -11,28 +11,23 @@
COMMENT= Amateur Radio Echolink conference bridge
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake
GNU_CONFIGURE= yes
PORTDOCS= README
USE_RC_SUBR= tbd
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+INSTALL_TARGET= install-strip
-post-patch:
- @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},; \
- s,%%PREFIX%%,${PREFIX},' \
- ${WRKSRC}/addons/usermgmt.cgi
+.include <bsd.port.pre.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}/${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR}
.endif
- ${MKDIR} ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/addons/usermgmt.cgi ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/addons/README ${DATADIR}
+ ${MKDIR} ${STAGEDIR}/${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/addons/usermgmt.cgi ${STAGEDIR}/${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/addons/README ${STAGEDIR}/${DATADIR}
.include <bsd.port.mk>
diff -ruN /usr/ports/comms/thebridge/files/patch-src_Makefile.in ./files/patch-src_Makefile.in
--- /usr/ports/comms/thebridge/files/patch-src_Makefile.in 2013-01-07 23:28:10.000000000 +0900
+++ ./files/patch-src_Makefile.in 2013-10-24 14:54:41.000000000 +0900
@@ -1,5 +1,5 @@
---- src/Makefile.in.orig 2012-12-10 01:00:44.000000000 -0500
-+++ src/Makefile.in 2013-01-03 18:54:09.000000000 -0500
+--- src/Makefile.in.orig 2012-12-10 15:00:44.000000000 +0900
++++ src/Makefile.in 2013-10-24 13:57:30.000000000 +0900
@@ -115,7 +115,7 @@
tbd_OBJECTS = $(am_tbd_OBJECTS)
am__DEPENDENCIES_1 =
diff -ruN /usr/ports/comms/thebridge/files/patch-tbdcmd_Makefile.in ./files/patch-tbdcmd_Makefile.in
--- /usr/ports/comms/thebridge/files/patch-tbdcmd_Makefile.in 1970-01-01 09:00:00.000000000 +0900
+++ ./files/patch-tbdcmd_Makefile.in 2013-10-24 14:54:57.000000000 +0900
@@ -0,0 +1,11 @@
+--- tbdcmd/Makefile.in.orig 2012-12-10 15:00:44.000000000 +0900
++++ tbdcmd/Makefile.in 2013-10-24 13:36:31.000000000 +0900
+@@ -530,7 +530,7 @@
+ @LINK_BOX_FALSE@ if test -f $(DESTDIR)$(bindir)/tbdchat; then \
+ @LINK_BOX_FALSE@ rm $(DESTDIR)$(bindir)/tbdchat; \
+ @LINK_BOX_FALSE@ fi
+- at LINK_BOX_FALSE@ ln -s $(DESTDIR)$(bindir)/tbdcmd $(DESTDIR)$(bindir)/tbdchat
++ at LINK_BOX_FALSE@ ln -s tbdcmd $(DESTDIR)$(bindir)/tbdchat
+
+ @LINK_BOX_FALSE at uninstall-hook:
+ @LINK_BOX_FALSE@ rm $(DESTDIR)$(bindir)/tbdchat
--- thebridge-1.09.patch ends here ---
More information about the freebsd-ports-bugs
mailing list