1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

Process the pkg-message template earlier than post-install so

package users will actually get to see it the right way.

PR: ports/66123
Reported by: obrien
This commit is contained in:
Michael Nottebrock 2004-05-02 13:10:50 +00:00
parent 7c6072f8a9
commit 77c311d022
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108158
14 changed files with 49 additions and 21 deletions

View File

@ -28,6 +28,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_XPM= yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/MESSAGE
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@ -65,14 +66,17 @@ post-configure:
${REINPLACE_CMD} -e 's/444/644/g' \
${WRKSRC}/kdesktop/init/Templates/Makefile
post-build:
@${CAT} ${FILESDIR}/pkg-message | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g' > ${PKGMESSAGE}
post-install:
${LOCALBASE}/bin/genkdmconf --no-old --in ${PREFIX}/share/config/kdm/default
${LOCALBASE}/bin/genkdmconf --no-backup --no-old-scripts --in ${PREFIX}/share/config/kdm
${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop
${CHMOD} u+s ${PREFIX}/bin/kcheckpass
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
@${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g'
${CHMOD} g+s ${PREFIX}/bin/ksysguard$d
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -28,6 +28,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_XPM= yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/MESSAGE
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@ -65,14 +66,17 @@ post-configure:
${REINPLACE_CMD} -e 's/444/644/g' \
${WRKSRC}/kdesktop/init/Templates/Makefile
post-build:
@${CAT} ${FILESDIR}/pkg-message | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g' > ${PKGMESSAGE}
post-install:
${LOCALBASE}/bin/genkdmconf --no-old --in ${PREFIX}/share/config/kdm/default
${LOCALBASE}/bin/genkdmconf --no-backup --no-old-scripts --in ${PREFIX}/share/config/kdm
${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop
${CHMOD} u+s ${PREFIX}/bin/kcheckpass
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
@${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g'
${CHMOD} g+s ${PREFIX}/bin/ksysguard$d
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -28,6 +28,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_XPM= yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/MESSAGE
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@ -65,14 +66,17 @@ post-configure:
${REINPLACE_CMD} -e 's/444/644/g' \
${WRKSRC}/kdesktop/init/Templates/Makefile
post-build:
@${CAT} ${FILESDIR}/pkg-message | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g' > ${PKGMESSAGE}
post-install:
${LOCALBASE}/bin/genkdmconf --no-old --in ${PREFIX}/share/config/kdm/default
${LOCALBASE}/bin/genkdmconf --no-backup --no-old-scripts --in ${PREFIX}/share/config/kdm
${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop
${CHMOD} u+s ${PREFIX}/bin/kcheckpass
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
@${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g'
${CHMOD} g+s ${PREFIX}/bin/ksysguard$d
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -28,6 +28,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_XPM= yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/MESSAGE
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@ -65,14 +66,17 @@ post-configure:
${REINPLACE_CMD} -e 's/444/644/g' \
${WRKSRC}/kdesktop/init/Templates/Makefile
post-build:
@${CAT} ${FILESDIR}/pkg-message | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g' > ${PKGMESSAGE}
post-install:
${LOCALBASE}/bin/genkdmconf --no-old --in ${PREFIX}/share/config/kdm/default
${LOCALBASE}/bin/genkdmconf --no-backup --no-old-scripts --in ${PREFIX}/share/config/kdm
${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop
${CHMOD} u+s ${PREFIX}/bin/kcheckpass
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
@${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g'
${CHMOD} g+s ${PREFIX}/bin/ksysguard$d
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -28,6 +28,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_XPM= yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/MESSAGE
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@ -65,14 +66,17 @@ post-configure:
${REINPLACE_CMD} -e 's/444/644/g' \
${WRKSRC}/kdesktop/init/Templates/Makefile
post-build:
@${CAT} ${FILESDIR}/pkg-message | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g' > ${PKGMESSAGE}
post-install:
${LOCALBASE}/bin/genkdmconf --no-old --in ${PREFIX}/share/config/kdm/default
${LOCALBASE}/bin/genkdmconf --no-backup --no-old-scripts --in ${PREFIX}/share/config/kdm
${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop
${CHMOD} u+s ${PREFIX}/bin/kcheckpass
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
@${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g'
${CHMOD} g+s ${PREFIX}/bin/ksysguard$d
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -28,6 +28,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_XPM= yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/MESSAGE
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@ -65,14 +66,17 @@ post-configure:
${REINPLACE_CMD} -e 's/444/644/g' \
${WRKSRC}/kdesktop/init/Templates/Makefile
post-build:
@${CAT} ${FILESDIR}/pkg-message | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g' > ${PKGMESSAGE}
post-install:
${LOCALBASE}/bin/genkdmconf --no-old --in ${PREFIX}/share/config/kdm/default
${LOCALBASE}/bin/genkdmconf --no-backup --no-old-scripts --in ${PREFIX}/share/config/kdm
${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop
${CHMOD} u+s ${PREFIX}/bin/kcheckpass
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
@${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g'
${CHMOD} g+s ${PREFIX}/bin/ksysguard$d
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -28,6 +28,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_XPM= yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/MESSAGE
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@ -65,14 +66,17 @@ post-configure:
${REINPLACE_CMD} -e 's/444/644/g' \
${WRKSRC}/kdesktop/init/Templates/Makefile
post-build:
@${CAT} ${FILESDIR}/pkg-message | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g' > ${PKGMESSAGE}
post-install:
${LOCALBASE}/bin/genkdmconf --no-old --in ${PREFIX}/share/config/kdm/default
${LOCALBASE}/bin/genkdmconf --no-backup --no-old-scripts --in ${PREFIX}/share/config/kdm
${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop
${CHMOD} u+s ${PREFIX}/bin/kcheckpass
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
@${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
| ${SED} -e 's,%%X11BASE%%,${X11BASE},g'
${CHMOD} g+s ${PREFIX}/bin/ksysguard$d
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>