x11/cde*: Remove .bak files from package

Remove unneeded and redundant .bak files from the package.

PR:		268989
Reported by:	mikael
MFH:		2023Q1
This commit is contained in:
Cy Schubert 2023-01-16 11:02:51 -08:00
parent 30387c1f04
commit aac210b49f
4 changed files with 4 additions and 1010 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= cde
DISTVERSION= 2.5.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= SF/cdesktopenv/src/
.if !defined(MASTERDIR)
@ -111,6 +111,7 @@ post-install:
${STAGEDIR}${PREFIX}/etc/pam.d/cde${DT_ID}.conf
@${ECHO_CMD} MANPATH /usr/local/dt/share/man > ${STAGEDIR}/${PREFIX}/etc/man.d/cde${DT_ID}.conf
@${FIND} ${STAGEDIR}/${DT_PREFIX} -type f -exec ${SH} -c '${STRIP_CMD} {} > /dev/null 2>&1' \;
@${FIND} ${STAGEDIR}/${DT_PREFIX} -type f -name '*.bak' -delete
@cd ${WRKSRC}/examples && @${FIND} . | ${CPIO} -pd ${STAGEDIR}/${DT_PREFIX}/share
@cd ${STAGEDIR}/${DT_PREFIX}; ${LN} -s share/examples
# Only a problem on armv7 so far

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
PORTNAME= cde
PORTVERSION= ${COMMIT_DATE}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11
.if !defined(MASTERDIR)
PKGNAMESUFFIX= -devel
@ -118,6 +118,7 @@ post-install:
${STAGEDIR}${PREFIX}/etc/pam.d/cde${DT_ID}.conf
@${ECHO_CMD} MANPATH /usr/local/dt/share/man > ${STAGEDIR}/${PREFIX}/etc/man.d/cde${DT_ID}.conf
@${FIND} ${STAGEDIR}/${DT_PREFIX} -type f -exec ${SH} -c '${STRIP_CMD} {} > /dev/null 2>&1' \;
@${FIND} ${STAGEDIR}/${DT_PREFIX} -type f -name '*.bak' -delete
@cd ${WRKSRC}/examples && @${FIND} . | ${CPIO} -pd ${STAGEDIR}/${DT_PREFIX}/share
@cd ${STAGEDIR}/${DT_PREFIX}; ${LN} -sf share/examples
# Only a problem on armv7 so far

File diff suppressed because it is too large Load Diff