aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/915resolution/Makefile
blob: d3f3aee579986a300030f20d6eef68a3426e0e00 (plain) (blame)
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
# Created by: Remington Lang <MrL0Lz@gmail.com>
# $FreeBSD$

PORTNAME=   915resolution
PORTVERSION=    0.5.3
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ehaupt

MAINTAINER= ports@FreeBSD.org
COMMENT=    Resolution tool for Intel i915 video cards

USE_RC_SUBR=    915resolution

PLIST_FILES=    sbin/915resolution
OPTIONS_DEFINE= DOCS
PORTDOCS=   README.txt LICENSE.txt chipset_info.txt changes.log

ONLY_FOR_ARCHS= i386 amd64

do-build:
    cd ${WRKSRC} && \
        ${CC} ${CFLAGS} 915resolution.c -o 915resolution

.include <bsd.port.options.mk>

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/915resolution ${PREFIX}/sbin
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif

.include <bsd.port.mk>