Skip to content

Instantly share code, notes, and snippets.

@lantw44
Created January 5, 2018 16:55
Show Gist options
  • Select an option

  • Save lantw44/8d419fb9cd3f32595a80384ae4db036e to your computer and use it in GitHub Desktop.

Select an option

Save lantw44/8d419fb9cd3f32595a80384ae4db036e to your computer and use it in GitHub Desktop.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# hwdata
# hwdata/distinfo
# hwdata/Makefile
# hwdata/pkg-descr
# hwdata/pkg-plist
#
echo c - hwdata
mkdir -p hwdata > /dev/null 2>&1
echo x - hwdata/distinfo
sed 's/^X//' >hwdata/distinfo << 'a9504787b5b7da33ea9a55721da57c70'
XTIMESTAMP = 1515165315
XSHA256 (vcrhonek-hwdata-0.308-v0.308_GH0.tar.gz) = 986d919c20a0c7f8b669a63830f6d2f4cb5c4cddcfc944c5e2ae05c2e9e5ec9f
XSIZE (vcrhonek-hwdata-0.308-v0.308_GH0.tar.gz) = 1840375
a9504787b5b7da33ea9a55721da57c70
echo x - hwdata/Makefile
sed 's/^X//' >hwdata/Makefile << 'fec633584cd40d8994bc273ee15c76cb'
X# Created by: Ting-Wei Lan <lantw44@gmail.com>
X# $FreeBSD$
X
XPORTNAME= hwdata
XPORTVERSION= 0.308
XCATEGORIES= misc
X
XMAINTAINER= gnome@FreeBSD.org
XCOMMENT= Database of various hardware IDs and configuration data
X
XLICENSE= GPLv2+ MIT
XLICENSE_COMB= dual
X
XNO_ARCH= yes
XNO_BUILD= yes
X
XGH_ACCOUNT= vcrhonek
XGH_TAGNAME= v${PORTVERSION}
XUSE_GITHUB= yes
X
Xdo-install:
X ${MKDIR} ${STAGEDIR}${DATADIR}/
X for f in iab.txt oui.txt pci.ids pnp.ids usb.ids; do \
X ${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DATADIR}/; \
X done
X
X.include <bsd.port.mk>
fec633584cd40d8994bc273ee15c76cb
echo x - hwdata/pkg-descr
sed 's/^X//' >hwdata/pkg-descr << '8051ed3596b630aa55ddb6d78199a342'
XDatabase of various hardware identification and configuration data.
X
XWWW: https://github.com/vcrhonek/hwdata
8051ed3596b630aa55ddb6d78199a342
echo x - hwdata/pkg-plist
sed 's/^X//' >hwdata/pkg-plist << '10f7ff12277a2e1a5e9820596b8e9176'
Xshare/hwdata/iab.txt
Xshare/hwdata/oui.txt
Xshare/hwdata/pci.ids
Xshare/hwdata/pnp.ids
Xshare/hwdata/usb.ids
10f7ff12277a2e1a5e9820596b8e9176
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment