1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/x11-wm/mlvwm/Makefile
Yukihiro Nakai f15b3e9694 Support CFLAGS/PREFIX properly
PR:		ports/17052
2000-02-29 08:23:37 +00:00

38 lines
955 B
Makefile

# New ports collection makefile for: mlvwm
# Version required: 0.9.0
# Date created: 19 Januruary 1997
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
DISTNAME= mlvwm090
PKGNAME= mlvwm-0.9.0
CATEGORIES= x11-wm
MASTER_SITES= http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} mini-icons.tar.gz
MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_IMAKE= yes
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAN1= mlvwm.1
MLVWMLIBDIR= ${PREFIX}/lib/X11/mlvwm
post-extract:
@${TAR} -C ${WRKSRC}/pixmap -xzf ${DISTDIR}/mini-icons.tar.gz
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/sample_rc/Mlvwmrc*
post-install:
@${RM} -f ${WRKSRC}/sample_rc/*.orig
@${MKDIR} ${MLVWMLIBDIR}/pixmap
${INSTALL_DATA} ${WRKSRC}/pixmap/*.xpm ${MLVWMLIBDIR}/pixmap
${INSTALL_DATA} ${WRKSRC}/sample_rc/Mlvwmrc* ${MLVWMLIBDIR}
.include <bsd.port.mk>