aboutsummaryrefslogtreecommitdiff
path: root/sysutils/usb_modeswitch/Makefile
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2014-02-02 19:40:24 +0000
committerEitan Adler <eadler@FreeBSD.org>2014-02-02 19:40:24 +0000
commit0697fbeccbe49cba0295066a726986c4473cb60b (patch)
treeb7b80ee0e3954c065881d2b7e6d1d47bffff7c10 /sysutils/usb_modeswitch/Makefile
parent34c4a6789a259240d659b956754714e2c0b59ab8 (diff)
downloadports-0697fbeccbe49cba0295066a726986c4473cb60b.tar.gz
ports-0697fbeccbe49cba0295066a726986c4473cb60b.zip
- stagify
- fix build without gcc - remove reference to freebsd 7.x Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=342362
Diffstat (limited to 'sysutils/usb_modeswitch/Makefile')
-rw-r--r--sysutils/usb_modeswitch/Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/sysutils/usb_modeswitch/Makefile b/sysutils/usb_modeswitch/Makefile
index f00f178130f3..569567142ca8 100644
--- a/sysutils/usb_modeswitch/Makefile
+++ b/sysutils/usb_modeswitch/Makefile
@@ -14,20 +14,12 @@ LICENSE= GPLv2
USE_BZIP2= yes
-MAKE_JOBS_UNSAFE= yes
-
-MAN1= usb_modeswitch.1
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800000
-BROKEN= does not compile on FreeBSD 7.X
-.endif
+pre-patch:
+ ${REINPLACE_CMD} 's/gcc/${CC}/' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/usb_modeswitch ${PREFIX}/sbin
- ${INSTALL_DATA} ${WRKSRC}/usb_modeswitch.conf ${PREFIX}/etc/usb_modeswitch.conf.sample
- ${INSTALL_MAN} ${WRKSRC}/usb_modeswitch.1 ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/usb_modeswitch ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/usb_modeswitch.conf ${STAGEDIR}${PREFIX}/etc/usb_modeswitch.conf.sample
+ ${INSTALL_MAN} ${WRKSRC}/usb_modeswitch.1 ${STAGEDIR}${PREFIX}/man/man1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>