aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/multican/Makefile
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-04-30 00:43:05 +0800
committerrene <rene@FreeBSD.org>2013-04-30 00:43:05 +0800
commit4474a0cc08c5d35a6a333ccf61e822717d7440fa (patch)
treea101ccfbdb487a4c9c92a67d6d88ac8775e3362a /graphics/multican/Makefile
parent6d3249226ec6077a65ecc9129a6a4a11b61b2d09 (diff)
downloadfreebsd-ports-gnome-4474a0cc08c5d35a6a333ccf61e822717d7440fa.tar.gz
freebsd-ports-gnome-4474a0cc08c5d35a6a333ccf61e822717d7440fa.tar.zst
freebsd-ports-gnome-4474a0cc08c5d35a6a333ccf61e822717d7440fa.zip
In preparation of removing devel/libusb (expires 2013-04-30), remove it
from these ports. Other changes: - convert Makefile header - convert to optionsNG - remove indefinite article from comment - drop support for FreeBSD < 8.0 - pet portlint (leave library ABI versions in LIB_DEPENDS) - net-mgmt/spectools: change option name from GTK to GTK2 to use default description from bsd.options.desc.mk Approved by: portmgr (bapt)
Diffstat (limited to 'graphics/multican/Makefile')
-rw-r--r--graphics/multican/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/graphics/multican/Makefile b/graphics/multican/Makefile
index 50b36d6101c6..51ed89a42d7f 100644
--- a/graphics/multican/Makefile
+++ b/graphics/multican/Makefile
@@ -20,13 +20,7 @@ PLIST_FILES= bin/multican lib/libmultican.so.0 lib/libmultican.so \
PORTDOCS= ChangeLog README TODO
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800069
-LIB_DEPENDS= usb:${PORTSDIR}/devel/libusb
-CFLAGS+= -I${LOCALBASE}/include # does not uphold CPPFLAGS
-LDFLAGS+= -L${LOCALBASE}/lib
-.endif
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|endian.h|sys/&|' ${WRKSRC}/canonio.c \
@@ -43,4 +37,4 @@ post-install:
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>