diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2000-08-10 10:26:26 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-08-10 10:26:26 +0000 |
commit | 979337d74ea3c2bf7c41b64024ac6b93c071d0ae (patch) | |
tree | 8972ed10059b4544311cd5aaf6edb6afafea0e6d /mail | |
parent | 20e150d7530a51b20456b57c0c09ed00cec5600b (diff) | |
download | ports-979337d74ea3c2bf7c41b64024ac6b93c071d0ae.tar.gz ports-979337d74ea3c2bf7c41b64024ac6b93c071d0ae.zip |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mutt-devel/Makefile | 31 | ||||
-rw-r--r-- | mail/mutt/Makefile | 31 | ||||
-rw-r--r-- | mail/mutt14/Makefile | 31 |
3 files changed, 51 insertions, 42 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index 0ab091d9a890..f330285551c1 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -31,26 +31,29 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= obrien@FreeBSD.org -LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext -.if defined(BATCH) -LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang +.if defined(PACKAGE_BUILDING) +WITH_SLANG= yes BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell +RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ + urlview:${PORTSDIR}/textproc/urlview .if ${MACHINE_ARCH} != "alpha" # coredump in sgmls -BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat +WITH_DOCS= yes +.endif .endif -RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell + +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext +.if defined(WITH_SLANG) +LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang .elif defined(WITH_NCURSES_PORT) -LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses +LIB_DEPENDS+= ncurses.4:${PORTSDIR}/devel/ncurses CFLAGS+= -I${PREFIX}/include/ncurses -.elif defined(WITH_SLANG) -LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang .endif .if defined(WITH_SSL) USE_OPENSSL= RSA .endif -.if defined(PACKAGE_BUILDING) -RUN_DEPENDS+= urlview:${PORTSDIR}/textproc/urlview +.if defined(WITH_DOCS) +BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat .endif DIST_SUBDIR= mutt @@ -63,7 +66,7 @@ CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \ .if defined(WITH_LOCALES_FIX) CONFIGURE_ARGS+= --enable-locales-fix .endif -.if defined(BATCH) || defined(WITH_SLANG) +.if defined(WITH_SLANG) CONFIGURE_ARGS+= --with-slang=${PREFIX} .elif defined(WITH_NCURSES_PORT) CONFIGURE_ARGS+= --with-curses=${PREFIX} @@ -88,7 +91,7 @@ post-build: ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-doc-ref printf ",s|\$${PREFIX}|%s|g\nw\nq\n" ${PREFIX} | \ ed -s ${WRKSRC}/doc/mutt.man -.if defined(BATCH) +.if defined(WITH_DOCS) PLIST:= ${WRKDIR}/PLIST pre-install: @${CAT} ${PKGDIR}/PLIST.htmlfiles >> ${PLIST} @@ -103,8 +106,8 @@ post-install: @${MKDIR} ${PREFIX}/share/doc/mutt && ${CHMOD} a+rx ${PREFIX}/share/doc/mutt @cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \ ${PREFIX}/share/doc/mutt -.if defined(BATCH) - ${INSTALL_MAN} -d ${PREFIX}/share/doc/mutt/html +.if defined(WITH_DOCS) + env MANMODE=0755 ${INSTALL_MAN} -d ${PREFIX}/share/doc/mutt/html ${INSTALL_MAN} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/mutt/html ${INSTALL_MAN} ${WRKSRC}/doc/*.latin1 ${PREFIX}/share/doc/mutt .endif diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index 0ab091d9a890..f330285551c1 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -31,26 +31,29 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= obrien@FreeBSD.org -LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext -.if defined(BATCH) -LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang +.if defined(PACKAGE_BUILDING) +WITH_SLANG= yes BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell +RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ + urlview:${PORTSDIR}/textproc/urlview .if ${MACHINE_ARCH} != "alpha" # coredump in sgmls -BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat +WITH_DOCS= yes +.endif .endif -RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell + +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext +.if defined(WITH_SLANG) +LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang .elif defined(WITH_NCURSES_PORT) -LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses +LIB_DEPENDS+= ncurses.4:${PORTSDIR}/devel/ncurses CFLAGS+= -I${PREFIX}/include/ncurses -.elif defined(WITH_SLANG) -LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang .endif .if defined(WITH_SSL) USE_OPENSSL= RSA .endif -.if defined(PACKAGE_BUILDING) -RUN_DEPENDS+= urlview:${PORTSDIR}/textproc/urlview +.if defined(WITH_DOCS) +BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat .endif DIST_SUBDIR= mutt @@ -63,7 +66,7 @@ CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \ .if defined(WITH_LOCALES_FIX) CONFIGURE_ARGS+= --enable-locales-fix .endif -.if defined(BATCH) || defined(WITH_SLANG) +.if defined(WITH_SLANG) CONFIGURE_ARGS+= --with-slang=${PREFIX} .elif defined(WITH_NCURSES_PORT) CONFIGURE_ARGS+= --with-curses=${PREFIX} @@ -88,7 +91,7 @@ post-build: ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-doc-ref printf ",s|\$${PREFIX}|%s|g\nw\nq\n" ${PREFIX} | \ ed -s ${WRKSRC}/doc/mutt.man -.if defined(BATCH) +.if defined(WITH_DOCS) PLIST:= ${WRKDIR}/PLIST pre-install: @${CAT} ${PKGDIR}/PLIST.htmlfiles >> ${PLIST} @@ -103,8 +106,8 @@ post-install: @${MKDIR} ${PREFIX}/share/doc/mutt && ${CHMOD} a+rx ${PREFIX}/share/doc/mutt @cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \ ${PREFIX}/share/doc/mutt -.if defined(BATCH) - ${INSTALL_MAN} -d ${PREFIX}/share/doc/mutt/html +.if defined(WITH_DOCS) + env MANMODE=0755 ${INSTALL_MAN} -d ${PREFIX}/share/doc/mutt/html ${INSTALL_MAN} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/mutt/html ${INSTALL_MAN} ${WRKSRC}/doc/*.latin1 ${PREFIX}/share/doc/mutt .endif diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile index 0ab091d9a890..f330285551c1 100644 --- a/mail/mutt14/Makefile +++ b/mail/mutt14/Makefile @@ -31,26 +31,29 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= obrien@FreeBSD.org -LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext -.if defined(BATCH) -LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang +.if defined(PACKAGE_BUILDING) +WITH_SLANG= yes BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell +RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ + urlview:${PORTSDIR}/textproc/urlview .if ${MACHINE_ARCH} != "alpha" # coredump in sgmls -BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat +WITH_DOCS= yes +.endif .endif -RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell + +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext +.if defined(WITH_SLANG) +LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang .elif defined(WITH_NCURSES_PORT) -LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses +LIB_DEPENDS+= ncurses.4:${PORTSDIR}/devel/ncurses CFLAGS+= -I${PREFIX}/include/ncurses -.elif defined(WITH_SLANG) -LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang .endif .if defined(WITH_SSL) USE_OPENSSL= RSA .endif -.if defined(PACKAGE_BUILDING) -RUN_DEPENDS+= urlview:${PORTSDIR}/textproc/urlview +.if defined(WITH_DOCS) +BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat .endif DIST_SUBDIR= mutt @@ -63,7 +66,7 @@ CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \ .if defined(WITH_LOCALES_FIX) CONFIGURE_ARGS+= --enable-locales-fix .endif -.if defined(BATCH) || defined(WITH_SLANG) +.if defined(WITH_SLANG) CONFIGURE_ARGS+= --with-slang=${PREFIX} .elif defined(WITH_NCURSES_PORT) CONFIGURE_ARGS+= --with-curses=${PREFIX} @@ -88,7 +91,7 @@ post-build: ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-doc-ref printf ",s|\$${PREFIX}|%s|g\nw\nq\n" ${PREFIX} | \ ed -s ${WRKSRC}/doc/mutt.man -.if defined(BATCH) +.if defined(WITH_DOCS) PLIST:= ${WRKDIR}/PLIST pre-install: @${CAT} ${PKGDIR}/PLIST.htmlfiles >> ${PLIST} @@ -103,8 +106,8 @@ post-install: @${MKDIR} ${PREFIX}/share/doc/mutt && ${CHMOD} a+rx ${PREFIX}/share/doc/mutt @cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \ ${PREFIX}/share/doc/mutt -.if defined(BATCH) - ${INSTALL_MAN} -d ${PREFIX}/share/doc/mutt/html +.if defined(WITH_DOCS) + env MANMODE=0755 ${INSTALL_MAN} -d ${PREFIX}/share/doc/mutt/html ${INSTALL_MAN} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/mutt/html ${INSTALL_MAN} ${WRKSRC}/doc/*.latin1 ${PREFIX}/share/doc/mutt .endif |