Commit 0be9325e authored by Franco Fichtner's avatar Franco Fichtner

pkg: unify usage between core and plugins

parent 41fbe742
......@@ -13,6 +13,12 @@ mount: force
umount: force
/sbin/umount -f "<above>:${.CURDIR}/src"
scripts: force
@make -C ${.CURDIR}/pkg scripts
manifest: force
@make -C ${.CURDIR}/pkg manifest
install: force
@make -C ${.CURDIR}/pkg install
@make -C ${.CURDIR}/lang install
......
name: opnsense%%REPO_SUFFIX%%
version: "%%REPO_VERSION%%"
origin: opnsense/opnsense%%REPO_SUFFIX%%
comment: "%%REPO_COMMENT%%"
desc: "OPNsense core package"
maintainer: franco@opnsense.org
www: https://opnsense.org/
prefix: /
deps: {
%%REPO_DEPENDS%%
}
all:
install:
scripts:
@mkdir -p ${DESTDIR}
@cp -v ${.CURDIR}/+PRE_DEINSTALL ${DESTDIR}
@cp -v ${.CURDIR}/+POST_INSTALL ${DESTDIR}
@cp -v ${.CURDIR}/+MANIFEST ${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/
......@@ -15,4 +29,4 @@ plist:
@(cd ${.CURDIR}/fingerprints; find * -type f) | \
xargs -n1 printf "/usr/local/etc/pkg/fingerprints/%s\n"
.PHONY: install plist
.PHONY: install plist scripts manifest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment