freebsd-ports/x11-wm/olvwm/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

38 lines
809 B
Makefile

# Created by: smace
# $FreeBSD$
PORTNAME= olvwm
PORTVERSION= 4.2
PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= ftp://ftp.x.org/R5contrib/ \
XCONTRIB/window_managers \
http://komquats.com/distfiles/ \
LOCAL/cy
DISTNAME= ${PORTNAME}4
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= olvwm4.Patch01.Z \
olvwm4.Patch02.Z
PATCH_DIST_STRIP= -p1
MAINTAINER= cy@FreeBSD.org
COMMENT= OpenLook Virtual Window manager
LIB_DEPENDS= libxview.so:${PORTSDIR}/x11-toolkits/xview
REINPLACE_ARGS= -i ""
NO_WRKSUBDIR= yes
USES= imake tar:Z
USE_XORG= xpm
MAN1= olvwm.1 olvwmrc.1
XFREE86_HTML_MAN= no
IMAKECPPFLAGS+= -DXVDestDir=${STAGEDIR}${PREFIX}
pre-configure:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
's|^#endif.*$$|#endif|;s|^#else.*$$|#else|;\
s|^/\*\*/#*|XCOMM |'
.include <bsd.port.mk>