diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-06-19 19:05:47 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-06-19 19:05:47 +0000 |
commit | 6c227ca468397f94ec9dd7eba83f764c66aa7215 (patch) | |
tree | 554a70e6631fa7d2ae2b6b3e57d4339239008f4b /biology/gperiodic/Makefile | |
parent | 0ed60a672e536928fa1ad7954eaf7533768f96b7 (diff) | |
download | ports-6c227ca468397f94ec9dd7eba83f764c66aa7215.tar.gz ports-6c227ca468397f94ec9dd7eba83f764c66aa7215.zip |
Notes
Diffstat (limited to 'biology/gperiodic/Makefile')
-rw-r--r-- | biology/gperiodic/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile index ba4d2e5cd209..c398fc8f2175 100644 --- a/biology/gperiodic/Makefile +++ b/biology/gperiodic/Makefile @@ -1,7 +1,4 @@ -# New ports collection makefile for: gperiodic -# Date created: 16 July 1999 -# Whom: Andrey Zakhvatov -# +# Created by: Andrey Zakhvatov # $FreeBSD$ # $MCom: ports/biology/gperiodic/Makefile,v 1.1 2006/09/29 23:42:13 ahze Exp $ @@ -19,6 +16,10 @@ USES= gettext LANGS= da fr gl it pl ru sv tr +PORTDOCS= AUTHORS ChangeLog README + +OPTIONS_DEFINE= DOCS + do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} `pkg-config --cflags --libs gtk+-2.0` \ gperiodic.c -o gperiodic @@ -26,6 +27,8 @@ do-build: cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po .endfor +.include <bsd.port.options.mk> + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin @${MKDIR} ${PREFIX}/share/applications @@ -41,11 +44,9 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ ${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo .endfor -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for file in AUTHORS ChangeLog README - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif .include <bsd.port.mk> |