aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/915resolution/Makefile
blob: 8faaebd3035f3f85796b4db06da7eccef2d1a336 (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
37
38
39
40
41
42
43
44
# New ports collection makefile for:    915resolution
# Date created:             30 Apr 2004
# Whom:                 Remington Lang <MrL0Lz@gmail.com>
#
# $FreeBSD$

PORTNAME=   915resolution
PORTVERSION=    0.5.3
PORTEPOCH=  1
CATEGORIES= sysutils
MASTER_SITES=   http://www.geocities.com/stomljen/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ehaupt

MAINTAINER= MrL0Lz@gmail.com
COMMENT=    Resolution tool for Intel i915 video cards

USE_RC_SUBR=    915resolution.sh

PLIST_FILES=    sbin/915resolution
PORTDOCS=   README.txt chipset_info.txt

ONLY_FOR_ARCHS= i386

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600034
BROKEN=     Does not build
.endif

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/915resolution ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
    ${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m ${BINMODE} -d ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>