fa92529aff
Mark packages that don't or might probably not have staged installation.
31 lines
753 B
Makefile
31 lines
753 B
Makefile
# $NetBSD: Makefile,v 1.9 2012/10/03 09:10:40 asau Exp $
|
|
#
|
|
|
|
DISTNAME= libpusb
|
|
PKGNAME= libpusb-0.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://benoit.is-a-geek.net/bsd-tmp/
|
|
|
|
MAINTAINER= imil@gcu.info
|
|
COMMENT= Simple and portable USB development interface
|
|
|
|
PKG_DESTDIR_SUPPORT= none
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
ONLY_FOR_PLATFORM= FreeBSD-*-* NetBSD-*-* OpenBSD-*-* Linux-*-*
|
|
|
|
WRKSRC= ${WRKDIR}/libpusb/src
|
|
MAKE_ENV+= ${BSD_MAKE_ENV}
|
|
|
|
INSTALL_TARGET= install includes
|
|
|
|
pre-build:
|
|
cd ${WRKSRC} && ${MAKE} clean # archive's dirty
|
|
|
|
SUBST_CLASSES+= path
|
|
SUBST_MESSAGE.path= Setting up hardcoded path.
|
|
SUBST_FILES.path= Makefile
|
|
SUBST_STAGE.path= post-patch
|
|
SUBST_SED.path= -e 's|/usr/pkg|${LOCALBASE}|'
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|