pkg-get/Makefile
John McQuah 1f479e5397 Merged changes from development branch
- Updated man-pages and README
- Updated copyright year
- Replaced external processes with native Perl routines
- Changed the interpretation of pkg-repgen's optional @ARGV to
  start with the target directory, like httpup-repgen
- Fixed PKGINST to accommodate ports with dashes in their names
2025-01-14 18:10:25 +00:00

26 lines
773 B
Makefile

NAME=pkg-get
VERSION="0.5.0"
PREFIX=/usr
CFGDIR=/etc
MANDIR=/usr/share/man
all:
@echo "Use 'make install' to install pkg-get"
dist:
rm -rf ${NAME}-${VERSION}
mkdir -p ${NAME}-${VERSION}/doc
cp -r scripts Makefile ChangeLog COPYING README TODO ${NAME}-${VERSION}
cp doc/*.* ${NAME}-${VERSION}/doc
tar cvzf ${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION}
rm -rf ${NAME}-${VERSION}
install:
install -D -m 755 scripts/pkg-repgen.pl ${PREFIX}/bin/pkg-repgen
install -D -m 755 scripts/pkg-get.pl ${PREFIX}/bin/pkg-get
install -D -m 644 doc/pkg-repgen.8 ${MANDIR}/man8/pkg-repgen.8
install -D -m 644 doc/pkg-get.8 ${MANDIR}/man8/pkg-get.8
install -D -m 644 doc/pkg-get.conf ${CFGDIR}/pkg-get.conf
install -D -m 644 doc/style.html ${PREFIX}/share/pkg-get/style.html