1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/x11-wm/mlvwm/Makefile
Satoshi Asami 5114e2637e Adjust port Makefiles to new EXTRACT_* variable defaults. See log of
bsd.port.mk rev. 1.304 for details on the change.

The fix here is one of the following.

(1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining
    EXTRACT_* commands.

(2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously
    calling the "tar" command (i.e., arguments like "-xzf" are spelled
    out).

(3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS},
    add ${EXTRACT_AFTER_ARGS} to the command line as well.

(4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS
    is set, define the other two too.
1999-02-03 11:12:01 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: mlvwm
# Version required: 0.8.9
# Date created: 19 Januruary 1997
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id: Makefile,v 1.13 1999/01/12 16:51:02 vanilla Exp $
#
DISTNAME= mlvwm089
PKGNAME= mlvwm-0.8.9
CATEGORIES= x11-wm
MASTER_SITES= http://www.bioele.nuee.nagoya-u.ac.jp/member/tak/mlvwm/ \
http://www.bioele.nuee.nagoya-u.ac.jp/member/tak/
DISTFILES= mlvwm089.tgz mini-icons.tar.gz
MAINTAINER= nacai@iname.com
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
WRKSRC= ${WRKDIR}/mlvwm089
USE_IMAKE= yes
EXTRACT_ONLY= mlvwm089.tgz
MAN1= mlvwm.1
MANCOMPRESSED= no
post-install:
${MKDIR} ${PREFIX}/lib/X11/mlvwm/pixmap
${INSTALL_DATA} ${WRKSRC}/pixmap/*.xpm ${PREFIX}/lib/X11/mlvwm/pixmap
${INSTALL_DATA} ${WRKSRC}/sample_rc/Mlvwm* ${PREFIX}/lib/X11/mlvwm
${RM} -f ${PREFIX}/lib/X11/mlvwm/*.orig
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/mini-icons.tar.gz \
${EXTRACT_AFTER_ARGS} \
-C ${PREFIX}/lib/X11/mlvwm/pixmap
.if !defined(NOPORTDOCS)
${INSTALL_MAN} ${WRKSRC}/man/mlvwm.1 ${PREFIX}/man/man1
.endif
.include <bsd.port.mk>