Index: head/databases/pspg/Makefile =================================================================== --- head/databases/pspg/Makefile +++ head/databases/pspg/Makefile @@ -2,6 +2,7 @@ PORTNAME= pspg DISTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= dg@syrec.org @@ -18,6 +19,8 @@ CFLAGS+= -D_WITH_GETLINE # enable the getline prototype PLIST_FILES= bin/pspg PORTDOCS= README.md + +SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS Index: head/databases/pspg/files/pkg-message.in =================================================================== --- head/databases/pspg/files/pkg-message.in +++ head/databases/pspg/files/pkg-message.in @@ -0,0 +1,3 @@ +To use pspg as psql pager, add this line to ~/.psqlrc: + +\setenv PAGER '%%PREFIX%%/bin/pspg -bX' Index: head/databases/pspg/pkg-message =================================================================== --- head/databases/pspg/pkg-message +++ head/databases/pspg/pkg-message @@ -1,7 +0,0 @@ -To use pspg as psql pager, add this alias: - -$ alias psql="env PAGER='pspg -bX' psql" - -For csh users: - -$ alias psql "env PAGER='pspg -bX' psql"