Use bsd.prog.mk directly

This commit is contained in:
Volker Stolz 2005-09-29 08:48:31 +00:00
parent adb599a78c
commit c02a818284
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143755
2 changed files with 5 additions and 15 deletions

View File

@ -17,17 +17,18 @@ EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT= Lists/Extracts files from a "*.tgz" or "*.gz" archive
MAKEFILE= /usr/share/mk/bsd.prog.mk
NO_WRKSUBDIR= yes
NO_INSTALL_MANPAGES= yes
PLIST_FILES= bin/untar
PROG= untar
MAKE_ENV+= PROG=untar NOMAN=yes
MAKE_ARGS+= CFLAGS="${CFLAGS} -D_POSIX_SOURCE" \
LDFLAGS="${LDFLAGS} -static"
pre-patch:
@${CP} ${DISTDIR}/untar.c ${WRKSRC}
@${CP} ${FILESDIR}/Makefile.untar ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PROG} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -1,11 +0,0 @@
# Makefile for untar-1.4
# For FreeBSD-[43].X
PROG= untar
SRCS= untar.c
NOMAN= yes
CFLAGS+= -D_POSIX_SOURCE
LDFLAGS+= -static
.include <bsd.prog.mk>