mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
33 lines
899 B
Makefile
33 lines
899 B
Makefile
all:
|
|
|
|
scripts:
|
|
@mkdir -p ${DESTDIR}
|
|
@cp -v ${.CURDIR}/+PRE_DEINSTALL ${DESTDIR}
|
|
@cp -v ${.CURDIR}/+POST_INSTALL ${DESTDIR}
|
|
|
|
manifest:
|
|
@echo "name: opnsense-devel"
|
|
@echo "version: \"%%REPO_VERSION%%\""
|
|
@echo "origin: opnsense/opnsense-devel"
|
|
@echo "comment: \"OPNsense core development package\""
|
|
@echo "desc: XXX"
|
|
@echo "maintainer: franco@opnsense.org"
|
|
@echo "www: https://opnsense.org/"
|
|
@echo "prefix: /"
|
|
@echo "deps: {"
|
|
@echo "%%REPO_DEPENDS%%"
|
|
@echo "}"
|
|
|
|
install:
|
|
@mkdir -p ${DESTDIR}/usr/local/etc/pkg
|
|
@cp -vr ${.CURDIR}/repos ${DESTDIR}/usr/local/etc/pkg/
|
|
@cp -vr ${.CURDIR}/fingerprints ${DESTDIR}/usr/local/etc/pkg/
|
|
|
|
plist:
|
|
@(cd ${.CURDIR}/repos; find * -type f) | \
|
|
xargs -n1 printf "/usr/local/etc/pkg/repos/%s\n"
|
|
@(cd ${.CURDIR}/fingerprints; find * -type f) | \
|
|
xargs -n1 printf "/usr/local/etc/pkg/fingerprints/%s\n"
|
|
|
|
.PHONY: install plist scripts manifest
|