summaryrefslogtreecommitdiffstats
path: root/x11-fm/asfiles/Makefile
blob: 84e755b34e252ab01750109ac1ebb09ac17b3e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:   ASFiles
# Date created:                17 August 1997
# Whom:                        lukin@okbmei.msk.su
#
# $FreeBSD$
#

PORTNAME=	asfiles
PORTVERSION=	1.0
CATEGORIES=	x11-fm afterstep windowmaker
MASTER_SITES=	${MASTER_SITE_AFTERSTEP}
MASTER_SITE_SUBDIR=	apps/ASFiles
DISTNAME=	ASFiles-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	X11 file manager. Dockable in WindowMaker

LIB_DEPENDS=	Dnd.1:${PORTSDIR}/x11/libdnd

GNU_CONFIGURE=	yes
USE_X_PREFIX=	yes
USE_XPM=	yes
USE_PERL5_BUILD=yes
MAN1=	files.1
MAN3=	regexp.3

post-install:
	${PATCH} ${PATCH_ARGS} < ${FILESDIR}/last-patch-aa
	${INSTALL_DATA} ${WRKSRC}/src/Files.ad ${PREFIX}/lib/X11/app-defaults/
	${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
	${MV} ${WRKSRC}/src/Files.ad.orig ${WRKSRC}/src/Files.ad

.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+=	NEWMTREE=""
.else
PLIST_SUB+=	NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud