mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
. Remove cruft.
. Simplify build (just redefine ALL_TARGET) . tar -> ${TAR}
This commit is contained in:
parent
9088f0d80c
commit
ef722765a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86947
@ -20,19 +20,10 @@ RESTRICTED= "license required for commercial use"
|
||||
|
||||
DIST_SUBDIR= dgd
|
||||
WRKSRC= ${WRKDIR}/dgd/src
|
||||
.if defined(PATCH_DEBUG)
|
||||
PATCH_DIST_ARGS= -d ${WRKDIR} -E ${PATCH_DIST_STRIP}
|
||||
.else
|
||||
PATCH_DIST_ARGS= -d ${WRKDIR} --forward --quiet -E ${PATCH_DIST_STRIP}
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC}; ${MAKE} install
|
||||
@${CHMOD} o+r ${WRKDIR}/dgd/doc/kfun/*
|
||||
ALL_TARGET= install
|
||||
|
||||
do-install:
|
||||
@-${MV} ${PREFIX}/dgd/bin/driver ${PREFIX}/dgd/bin/driver.old
|
||||
@tar -C ${WRKDIR} -cf - `${GREP} '^dgd/' ${PLIST}` \
|
||||
| tar -C ${PREFIX} -xpf -
|
||||
@${TAR} -C ${WRKDIR} -cf - `${GREP} '^dgd/' ${PLIST}` \
|
||||
| ${TAR} -C ${PREFIX} -xpf -
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user