update to postfix-19991231-pl06
clean up makefile and fake installation
This commit is contained in:
parent
dab8baa56f
commit
d7dc373e8f
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.21 2000/03/09 20:50:29 jakob Exp $
|
||||
# $OpenBSD: Makefile,v 1.22 2000/03/30 19:06:40 jakob Exp $
|
||||
|
||||
#BROKEN= auto installs files in /etc
|
||||
|
||||
DISTNAME= postfix-19991231-pl05
|
||||
DISTNAME= postfix-19991231-pl06
|
||||
CATEGORIES= mail
|
||||
NEED_VERSION= 1.241
|
||||
MASTER_SITES= ftp://ftp.merit.edu/postfix/official/ \
|
||||
ftp://ftp.sunet.se/pub/unix/mail/postfix/official/ \
|
||||
ftp://ftp.tau.ac.il/pub/unix/mail/postfix/official/ \
|
||||
@ -16,6 +15,8 @@ PERMIT_PACKAGE_FTP= yes
|
||||
PERMIT_DISTFILES_CDROM= yes
|
||||
PERMIT_DISTFILES_FTP= yes
|
||||
|
||||
FAKE= yes
|
||||
|
||||
NO_CONFIGURE= yes
|
||||
|
||||
MAKE_FLAGS= CC="${CC}" DEBUG="" OPT="${CFLAGS}" \
|
||||
@ -23,34 +24,20 @@ MAKE_FLAGS= CC="${CC}" DEBUG="" OPT="${CFLAGS}" \
|
||||
|
||||
ALL_TARGET= default
|
||||
|
||||
pre-install:
|
||||
@PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/INSTALL ${DISTNAME} PRE-INSTALL
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/postfix
|
||||
${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/postfix
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/postfix
|
||||
@echo "-> Installing postfix commands in ${PREFIX}/sbin"
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/sbin
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/postfix-enable ${PREFIX}/sbin
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/postfix-disable ${PREFIX}/sbin
|
||||
@echo "-> Installing postfix daemons in ${PREFIX}/libexec/postfix"
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/libexec/* ${PREFIX}/libexec/postfix
|
||||
@echo "-> Installing postfix sample config files in ${PREFIX}/lib/postfix"
|
||||
${INSTALL_DATA} ${WRKSRC}/conf/* ${PREFIX}/lib/postfix
|
||||
@echo "-> Installing postfix man pages in ${PREFIX}/man"
|
||||
@(cd ${WRKSRC}/man; \
|
||||
for mandir in man[0-9]; do \
|
||||
${INSTALL_MAN} $$mandir/* ${PREFIX}/man/$$mandir; \
|
||||
done)
|
||||
@echo "-> Installing postfix HTML documentation in ${PREFIX}/share/doc/postfix"
|
||||
${INSTALL_DATA} ${WRKSRC}/html/*.html ${PREFIX}/share/doc/postfix
|
||||
${INSTALL_DATA} ${WRKSRC}/html/*.gif ${PREFIX}/share/doc/postfix
|
||||
|
||||
post-install:
|
||||
@PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
||||
|
||||
post-deinstall:
|
||||
@PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/DEINSTALL ${DISTNAME} DEINSTALL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (postfix-19991231-pl05.tar.gz) = b8d90eb8594813c01b9e4ce9b0c9e2a1
|
||||
RMD160 (postfix-19991231-pl05.tar.gz) = 4382748ebffaf7e965a8e5cae595a9b9a7a3fbae
|
||||
SHA1 (postfix-19991231-pl05.tar.gz) = 0e8ed0c27c3eb52675342e922f9a00d861bd4d2e
|
||||
MD5 (postfix-19991231-pl06.tar.gz) = 7630d7466569c08f1fdf7c437cef0a14
|
||||
RMD160 (postfix-19991231-pl06.tar.gz) = e30b0327e0dcb6665e4921cdc2c5fc90e94d457b
|
||||
SHA1 (postfix-19991231-pl06.tar.gz) = 5f6fd8124ad73b41671f3236b88989f3d756410d
|
||||
|
Loading…
Reference in New Issue
Block a user