mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
Use variables for ${PKGDIR}/{INSTALL,MESSAGE}. ${PKGINSTALL} is
called twice without any arguments but I'm not sure what I should give it (it's once called from do-configure!) so I'll leave it alone.
This commit is contained in:
parent
3c01009f0e
commit
495a8149cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33565
@ -99,7 +99,7 @@ NO_MTREE= yes
|
||||
|
||||
do-configure:
|
||||
@# Create/Check the necessary groups/users
|
||||
@PKG_PREFIX=${PREFIX} ${PERL5} ${PKGDIR}/INSTALL
|
||||
@PKG_PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL}
|
||||
@${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
||||
@${ECHO} ${PREFIX} > ${WRKSRC}/conf-qmail
|
||||
|
||||
@ -107,7 +107,7 @@ post-patch: thereal-post-patch
|
||||
|
||||
do-install:
|
||||
@# Check again, just in case (ideally should error if not found)
|
||||
@PKG_PREFIX=${PREFIX} ${PERL5} ${PKGDIR}/INSTALL
|
||||
@PKG_PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL}
|
||||
@${MKDIR} ${PREFIX}/${DOCDIR} ${PREFIX}/configure
|
||||
@cd ${WRKSRC} ; ./install
|
||||
${INSTALL_PROGRAM} ${CONFIGUREPROGS} ${PREFIX}/configure
|
||||
@ -138,7 +138,7 @@ do-install:
|
||||
@${MKDIR} ${LOCALBASE}/etc/rc.d
|
||||
@${LN} -sf ${PREFIX}/rc ${LOCALBASE}/etc/rc.d/qmail.sh
|
||||
@${ECHO}
|
||||
@${SED} s!/var/qmail!${PREFIX}!g ${PKGDIR}/MESSAGE | /usr/bin/fmt
|
||||
@${SED} s!/var/qmail!${PREFIX}!g ${PKGMESSAGE} | /usr/bin/fmt
|
||||
|
||||
# hack to allow slave ports to include bsd.port.pre.mk and then this file
|
||||
.if defined(_PREMKINCLUDED)
|
||||
|
Loading…
Reference in New Issue
Block a user